1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00
one/share/smoke_tests
2021-07-13 17:57:14 +02:00
..
disabled_tests M #-: enable GitHub Actions smoke tests 2021-06-30 18:10:57 +02:00
tests L #-: Enable rubocop GH action 2021-07-13 17:57:14 +02:00
README.md M #-: enable GitHub Actions smoke tests 2021-06-30 18:10:57 +02:00
smoke_tests.sh M #-: Correct path for smoke tests 2021-06-30 18:13:19 +02: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