ci(windows): exit in script when failing

This commit is contained in:
Luma 2022-04-24 05:46:16 +00:00 committed by dundargoc
parent 214e27083a
commit 94a198d20f
2 changed files with 4 additions and 0 deletions

View file

@ -4,4 +4,7 @@ setlocal
set RUST_TEST_THREADS=1
set RUST_BACKTRACE=full
cargo test "%~1"
if %errorlevel% NEQ 0 (
exit /b %errorlevel%
)
endlocal