Skip to content

Commit ec9fb17

Browse files
authored
[ci] Capture exit code on full test run by setting pipefail (#97)
1 parent 0093e32 commit ec9fb17

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
@@ -730,7 +730,9 @@ jobs:
730730
python -m pip install numba
731731
echo ::endgroup::
732732
echo ::group::Run complete test suite
733+
set -o pipefail
733734
python -m pytest -sv | tee complete_testrun.log 2>&1
735+
set +o pipefail
734736
echo ::group::Crashing Test Logs
735737
# See if we don't have a crash that went away
736738
# Comment out all xfails but the ones that have a run=False condition.

0 commit comments

Comments
 (0)