Skip to content

Commit 5c8d191

Browse files
committed
test(gha): integrate 72-plugins dry-run validation into workflow pipeline
1 parent a94c2a8 commit 5c8d191

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

test-data/run-test-gha.ps1

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
# run-test-gha.ps1
22

3-
# Run WinHome
3+
# 1. Run live integration test on a subset of applications
44
./WinHome.exe --config test-config-gha.yaml --auto-install-apps --debug
55
$winhomeExitCode = $LASTEXITCODE
66

77
if ($winhomeExitCode -ne 0) {
8-
Write-Error "WinHome.exe failed with exit code $winhomeExitCode"
8+
Write-Error "WinHome.exe subset live test failed with exit code $winhomeExitCode"
99
exit $winhomeExitCode
1010
}
1111

12-
# Run verification script
12+
# 2. Run dry-run validation on the full 72-plugins configuration
13+
Write-Host "Running dry-run validation on all 72 plugins..."
14+
./WinHome.exe --config ../test-data/test-config-full-plugins.yaml --dry-run --auto-install-apps --debug
15+
$dryRunExitCode = $LASTEXITCODE
16+
17+
if ($dryRunExitCode -ne 0) {
18+
Write-Error "WinHome.exe dry-run validation on all 72 plugins failed with exit code $dryRunExitCode"
19+
exit $dryRunExitCode
20+
}
21+
22+
# 3. Run verification script for the live test assertions
1323
./verify-gha.ps1
1424
$verifyExitCode = $LASTEXITCODE
1525

0 commit comments

Comments
 (0)