Skip to content

Commit dbd6574

Browse files
committed
fixup! ui-tests: verify that a sleep in Windows Terminal can be interrupted
1 parent c20f64a commit dbd6574

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ui-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ jobs:
8888
$p.WaitForExit()
8989
if ($p.ExitCode -ne 0) { echo "::error::Test failed!" } else { echo "::notice::Test log" }
9090
type bg-hook.log
91+
$p2 = Start-Process -PassThru -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList ui-tests\ctrl-c.ahk, "$PWD\ctrl-c"
92+
$p2.WaitForExit()
93+
if ($p2.ExitCode -ne 0) { echo "::error::Ctrl+C Test failed!" } else { echo "::notice::Ctrl+C Test log" }
94+
type ctrl-c.log
9195
if ($p.ExitCode -ne 0) { exit 1 }
9296
- name: Show logs, if canceled
9397
if: cancelled()
94-
run: type bg-hook.log
98+
run: type bg-hook.log; type ctrl-c.log

0 commit comments

Comments
 (0)