File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 strategy :
1515 fail-fast : false
1616 matrix :
17- load : [idle, busy ]
17+ mode : [pair, alone ]
1818 steps :
1919 - name : Disable Windows Defender real-time monitoring
2020 shell : pwsh
@@ -33,12 +33,17 @@ jobs:
3333 run : |
3434 bun run --filter '@hyperframes/{parsers,lint,studio-server}' build
3535 bun run --cwd packages/core build
36+ - name : Prepare browser for process tests
37+ shell : pwsh
38+ run : node --import tsx packages/cli/scripts/prepare-process-test-browser.mjs
3639 - name : Probe
3740 shell : pwsh
38- timeout-minutes : 15
39- env :
40- PROBE_LOAD : ${{ matrix.load }}
41+ timeout-minutes : 20
42+ working-directory : packages/cli
4143 run : |
42- if ("${{ matrix.load }}" -eq "busy") { $burn = Start-Process node -ArgumentList "scripts/probe/burn.mjs","3" -PassThru -NoNewWindow }
43- node --import tsx scripts/probe/downloadStall.ts 80
44- if ($burn) { Stop-Process -Id $burn.Id -Force }
44+ $files = if ("${{ matrix.mode }}" -eq "pair") { @("src/cloud/download.test.ts", "src/capture/publicNetwork.integration.test.ts") } else { @("src/cloud/download.test.ts") }
45+ for ($i = 1; $i -le 10; $i++) {
46+ $out = npx vitest run @files --maxWorkers=2 2>&1 | Out-String
47+ $lines = ($out -split "`n") | Where-Object { $_ -match "download.test.ts \(|publicNetwork.integration.test.ts \(|splits a large|streams the whole|Hook timed|Test Files" }
48+ "RUN $i ${{ matrix.mode }}: $($lines -join ' | ')"
49+ }
You can’t perform that action at this time.
0 commit comments