1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-21 18:03:38 +03:00
one/share/smoke_tests
Pavel Czerný aa1775616b
F #6103: CppCheck version 2.10 - solved issues (#2492)
* Update smoke test checkout action

(cherry picked from commit 466d336d7e264b22e19576e42e39252921f1f0a6)
2023-02-14 09:51:21 +01:00
..
2023-01-09 13:42:55 +01:00
2023-01-09 13:42:55 +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