@davoodmehraban89 / Aram-2 Mirror · read-only / commits / 273a565
Fork 0

Mirrored from https://github.com/davoodmehraban89/Aram.git

Synced Dec 3, 23:15 UTC

ci(desktop): package synthetic demo and test frozen Windows success UI

davoodmehraban89 committed Oct 31, 2026 at 19:03 UTC 273a565f545b41105b30886d9699ac141468489e
1 file changed +15 -3
.github/workflows/desktop-five-statement-windows-ci.yml
+15 -3
@@ -34,9 +34,17 @@ jobs:
34 - name: Install backend and Windows packaging tools
35 shell: pwsh
36 run: python -m pip install -e ".[test]" "pyinstaller>=6.10,<7"
37 - - name: Run controller and full pipeline integration tests
37 + - name: Run desktop, synthetic demo and full pipeline integration tests
38 shell: pwsh
39 - run: python -m pytest tests/test_desktop_five_statement.py tests/test_five_statement_pipeline_integration.py tests/test_cross_statement_reconciliation.py
39 + run: python -m pytest tests/test_desktop_five_statement.py tests/test_synthetic_five_statement_demo.py tests/test_five_statement_pipeline_integration.py tests/test_cross_statement_reconciliation.py
40 + - name: Generate clearly labeled synthetic inspection inputs
41 + shell: pwsh
42 + run: python -m aram_backend.synthetic_five_statement_demo --output-dir dist/DEMO-SYNTHETIC-ONLY
43 + - name: Prove generated sample passes the actual CLI pipeline
44 + shell: pwsh
45 + run: |
46 + python -m aram_backend.five_statement_pipeline_cli --file "dist/DEMO-SYNTHETIC-ONLY/ARAM-SYNTHETIC-ONLY.xlsx" --manifest "dist/DEMO-SYNTHETIC-ONLY/ARAM-SYNTHETIC-ONLY.json" > $null
47 + if ($LASTEXITCODE -ne 0) { throw "Synthetic end-to-end CLI review did not pass" }
48 - name: Exercise native Tk menus and callbacks on Windows
49 shell: pwsh
50 run: python -m aram_backend.desktop_five_statement --ui-smoke
@@ -51,10 +59,14 @@ jobs:
59 if ($headless.ExitCode -ne 0) { throw "Frozen EXE self-test exit: $($headless.ExitCode)" }
60 $gui = Start-Process -FilePath $exe -ArgumentList "--ui-smoke" -PassThru -Wait
61 if ($gui.ExitCode -ne 0) { throw "Frozen EXE GUI smoke exit: $($gui.ExitCode)" }
62 + $valid = Start-Process -FilePath $exe -ArgumentList "--ui-valid-smoke" -PassThru -Wait
63 + if ($valid.ExitCode -ne 0) { throw "Frozen EXE valid synthetic preview exit: $($valid.ExitCode)" }
64 - name: Upload unsigned, nonproduction pilot for inspection only
65 uses: actions/upload-artifact@v7
66 with:
67 name: AramFivePilot-UNRELEASED-Windows-x64
58 - path: backend/dist/AramFivePilot-UNRELEASED.exe
68 + path: |
69 + backend/dist/AramFivePilot-UNRELEASED.exe
70 + backend/dist/DEMO-SYNTHETIC-ONLY/*
71 if-no-files-found: error
72 retention-days: 7