1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-06 13:17:42 +03:00
one/share/smoke_tests
Pavel Czerný 8e7ff2ed36
F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a551)
(cherry picked from commit d7b7303f8f)
2023-02-07 08:56:52 +01:00
..
config F #6103: Last set of CppCheck issues (#2481) 2023-02-07 08:56:52 +01:00
disabled_tests M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
tests F #6103: More CppCheck issues solved (#2477) 2023-02-02 12:54:45 +01:00
README.md M #-: enable GitHub Actions smoke tests 2021-06-30 18:10:57 +02:00
smoke_tests.sh M #-: Bump year 2023 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