Skip to content

Commit

Permalink
[test] Exit on error during Paddle windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
qiao-bo committed May 5, 2022
1 parent 3d6fcb0 commit 1394896
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/scripts/win_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if ("$env:TI_WANTED_ARCHS".Contains("cuda")) {
}
# Fail fast, give priority to the error-prone tests
python tests/run_tests.py -vr2 -t1 -k "paddle" -a "$env:TI_WANTED_ARCHS"
if (-not $?) { exit 1 }
if ("$env:TI_WANTED_ARCHS".Contains("cuda")) {
python tests/run_tests.py -vr2 -t4 -k "not torch and not paddle" -a cuda
if (-not $?) { exit 1 }
Expand Down

0 comments on commit 1394896

Please sign in to comment.