فینورا پرو - سامانه جامع حسابداری و صدور فاکتور

ci(a02): compile .NET ZIP helper and test safe synthetic extraction on Windows

davoodmehraban89 committed Oct 30, 2026 at 19:17 UTC 6c6ce527171473fde90156af4f7c139c60f53660
1 file changed +13
.github/workflows/pr-quality-gates.yml
+13
@@ -61,6 +61,19 @@ jobs:
61 run: npm ci
62 - name: Windows integration regression
63 run: npm test
64 + - name: Holoo ZIP private staging regression (synthetic only)
65 + shell: pwsh
66 + run: |
67 + $output = & powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File './scripts/a02-private-holoo-zip-staging.ps1' -Mode Test
68 + if ($LASTEXITCODE -ne 0) { throw 'A02 private ZIP staging selftest failed' }
69 + $report = ($output | Out-String | ConvertFrom-Json)
70 + if ($report.status -ne 'synthetic-zip-staging-selftest-passed' -or
71 + $report.ownerBackupUsed -ne $false -or
72 + $report.sqlConnected -ne $false -or
73 + $report.financialDataImported -ne $false -or
74 + $report.canImport -ne $false) {
75 + throw 'A02 ZIP staging synthetic selftest safety contract failed'
76 + }
77 - name: Build Tauri installer
78 run: npm exec tauri build
79 - name: Inspect produced Windows x64 installer and checksum