Skip to content

Commit

Permalink
ci: fix not failing step if tests failed (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 29, 2024
1 parent 94c9494 commit 78401af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .azure/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
displayName: 'Sanity check / details'

- bash: |
set -ex
coverage run --source thunder -m \
pytest thunder/tests/ \
-m "not standalone" \
Expand All @@ -100,6 +101,7 @@ jobs:
displayName: 'Testing: regular'
- bash: |
set -ex
# these test need to run in single thread as they occurs with CUDA OOM
coverage run --source thunder -m \
pytest \
Expand All @@ -125,6 +127,7 @@ jobs:
# displayName: 'Testing: standalone'

- bash: |
set -ex
# run all found tests in given past as standalone
bash scripts/run_standalone_tests.sh "thunder/tests/distributed"
# compile coverage results
Expand Down

0 comments on commit 78401af

Please sign in to comment.