Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 3, 14:30 UTC
fix(ci): wait for windowed frozen EXE to exit, verify actual return codes
davoodmehraban89 committed
Oct 30, 2026 at 23:48 UTC
3495da2dfd82cd4e6ad0d8b264e2f4d66bb376f5
1 file changed
+4
-4
.github/workflows/desktop-windows-ci.yml
+4
-4
@@ -43,10 +43,10 @@ jobs:
43
shell: pwsh
44
run: |
45
$exe = ".\dist\AramPilot-UNRELEASED.exe"
46
- & $exe --self-test
47
- if ($LASTEXITCODE -ne 0) { throw "Frozen EXE headless test failed: $LASTEXITCODE" }
48
- & $exe --ui-smoke
49
- if ($LASTEXITCODE -ne 0) { throw "Frozen EXE native Tk menu/button callback smoke failed: $LASTEXITCODE" }
46
+ $headless = Start-Process -FilePath $exe -ArgumentList "--self-test" -PassThru -Wait
47
+ if ($headless.ExitCode -ne 0) { throw "Frozen EXE headless test failed: $($headless.ExitCode)" }
48
+ $gui = Start-Process -FilePath $exe -ArgumentList "--ui-smoke" -PassThru -Wait
49
+ if ($gui.ExitCode -ne 0) { throw "Frozen EXE Tk callback smoke failed: $($gui.ExitCode)" }
50
- name: Upload NON-PRODUCTION unsigned pilot for inspection only
51
uses: actions/upload-artifact@v4
52
with: