Skip to content

Commit 994cb4c

Browse files
committed
Try to make windows test script less likely to hang
1 parent 2f6e4a3 commit 994cb4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/test_windows.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ npm ci -ignore-script node-pty
6464
npm run lint
6565
npm run format
6666
npm run package
67-
$Process = Start-Process npm "run integration-test" -Wait -PassThru -NoNewWindow
68-
if ($Process.ExitCode -eq 0) {
67+
npm run integration-test
68+
if ($LASTEXITCODE -eq 0) {
6969
Write-Host 'SUCCESS'
7070
} else {
71-
Write-Host ('FAILED ({0})' -f $Process.ExitCode)
71+
Write-Host ('FAILED ({0})' -f $LASTEXITCODE)
7272
exit 1
7373
}

0 commit comments

Comments
 (0)