actions: expect no tests to run (exit code 5)

This commit is contained in:
Jay Lee
2023-08-18 11:22:17 -04:00
committed by GitHub
parent 8fb01205ea
commit dcf63e203a

View File

@@ -568,7 +568,7 @@ jobs:
- name: Basic Tests all jobs
id: basictests
run: |
$PYTHON -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer
$PYTHON -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer || if [ $? != 5 ]; then exit $?; fi # exit 5 is no tests
$gam version extended
export GAMVERSION=$($gam version simple)
echo "GAM Version ${GAMVERSION}"