Skip to content

Commit be36a66

Browse files
committed
fixup! TO-DROP: intentionally fail, to test the screenshot code
1 parent 64f7855 commit be36a66

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
@@ -120,9 +120,13 @@ jobs:
120120
if ($p2.ExitCode -ne 0) { echo "::error::Ctrl+C Test failed!" } else { echo "::notice::Ctrl+C Test log" }
121121
type ctrl-c.log
122122
if ($p.ExitCode -ne 0) { exit 1 }
123+
echo "writing test.ahk"
123124
echo "this is not valid AutoHotkey code" >test.ahk
124-
Start-Process -PassThru -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList "test.ahk"
125+
echo "Intentionally failing"
126+
$p3 = Start-Process -PassThru -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList "test.ahk"
127+
echo "Sleeping 5 seconds to allow the test to run"
125128
Sleep 5000
129+
echo "Fail"
126130
exit 1
127131
- name: Show logs
128132
if: always()

0 commit comments

Comments
 (0)