This PR makes the CI scripts exit with correct status if at least one test fails. Previously, no matter what the test results were, the CI always passed (aside from linting). This may uncover some bad tests/errors that were not noticed before.
The run_ci_tests.sh script was made so that all tests will run instead of exiting CI as soon as a pytest invocation fails in order to simplify debugging. Same could be done for examples but I don't think it's worth it.
This PR makes the CI scripts exit with correct status if at least one test fails. Previously, no matter what the test results were, the CI always passed (aside from linting). This may uncover some bad tests/errors that were not noticed before.
The
run_ci_tests.sh
script was made so that all tests will run instead of exiting CI as soon as a pytest invocation fails in order to simplify debugging. Same could be done for examples but I don't think it's worth it.