8000 Make sure AppVeyor exits if test script fails · matplotlib/matplotlib@51e4b85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51e4b85

Browse files
committed
Make sure AppVeyor exits if test script fails
1 parent 5572869 commit 51e4b85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ test_script:
134134
# tests
135135
- echo The following args are passed to pytest %PYTEST_ARGS%
136136
- python tests.py %PYTEST_ARGS%
137+
- ps: if ($LastExitCode -ne 0) { $host.SetShouldExit 4CC1 ($LastExitCode) }
137138

138139
after_test:
139140
# After the tests were a success, build packages (wheels and conda)

0 commit comments

Comments
 (0)
0