Skip to content

Commit a0382c4

Browse files
committed
fixup! ci: add an AutoHotKey-based integration test
1 parent 613a17e commit a0382c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ui-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ jobs:
8080
- name: Run UI tests
8181
id: ui-tests
8282
run: |
83-
$p = Start-Process -Wait -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList ui-tests\background-hook.ahk, "$PWD\bg-hook"
83+
$p = Start-Process -PassThru -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList ui-tests\background-hook.ahk, "$PWD\bg-hook"
84+
$p.WaitForExit()
8485
if ($p.ExitCode -ne 0) { echo "::error::Test failed!" } else { echo "::notice::Test log" }
8586
type bg-hook.log
8687
if ($p.ExitCode -ne 0) { exit 1 }

0 commit comments

Comments
 (0)