1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-11 04:58:16 +03:00
one/share/smoke_tests
Pavel Czerny 6e4407f061
M #-: Update cppcheck to use c++17
(cherry picked from commit 3f0222cdafec85f329bbc8009633f4c9ad2cc26f)
2024-04-18 12:07:20 +02:00
..
2023-01-09 12:23:19 +01:00
2024-04-18 12:07:20 +02:00
2023-01-09 12:23:19 +01:00

GitHub Actions smoke tests

The share/smoke_tests/tests directory contains scripts for each smoke test.

The smoke_test.sh script is called which iterates on each script, and it exits and logs on any failure. To add more tests, simply create a new file on share/smoke_tests/tests.

Each test should:

  • have a number as prefix to define the order. Renaming is allowed, the rule is to execute the less costly tests (in time) first
  • return 0 on success, other number on error