Skip to content

Commit b29e992

Browse files
authored
CI fix: fail and exit on first testRunner error (#430)
This commit adds a command to the CI workflow, telling the shell to immediately exit if any command returns a non-zero exit status
1 parent 10c6bbc commit b29e992

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ jobs:
200200
${BUILD_DIR}/test/testRunner [CI_binding]
201201
- name: Run CI test set II - sensitivities
202202
run: |
203+
set -e
203204
${BUILD_DIR}/test/testRunner [CI_sens1]
204205
${BUILD_DIR}/test/testRunner [CI_sens2]
205206
${BUILD_DIR}/test/testRunner [CI_sens3]
@@ -217,6 +218,7 @@ jobs:
217218
${BUILD_DIR}/test/testRunner [CI_sens16]
218219
- name: Run CI test set III - crystallization
219220
run: |
221+
set -e
220222
${BUILD_DIR}/test/testRunner [CI_cry1]
221223
${BUILD_DIR}/test/testRunner [CI_cry2]
222224
${BUILD_DIR}/test/testRunner [CI_cry3]

0 commit comments

Comments
 (0)