|
1 | 1 | name: check-test |
2 | 2 |
|
3 | 3 | # Pull requests run the fast tier: the affected unit tests on Linux. The full tier — unit tests on Windows, the |
4 | | -# compiled builds, and the Playwright suites on both OSes — runs on pushes to dev and beta, on nightly and manual |
5 | | -# runs, and as the gate release.yml calls before it publishes a stable release. |
| 4 | +# compiled builds, and the Playwright suites on both OSes — runs on pushes to dev and beta and on nightly and manual |
| 5 | +# runs. A stable release also runs it through release.yml's gate, with the browser suites on Linux only. |
6 | 6 | on: |
7 | 7 | push: |
8 | 8 | branches: |
|
22 | 22 | description: Run only the quarantined browser tests (packages/app/e2e/QUARANTINE.md) |
23 | 23 | type: boolean |
24 | 24 | default: false |
| 25 | + release_gate: |
| 26 | + description: Run the browser suites on Linux only |
| 27 | + type: boolean |
| 28 | + default: false |
25 | 29 |
|
26 | 30 | concurrency: |
27 | 31 | # A new push to a pull request cancels its stale run. Every push and manual run keeps its own group, so each |
@@ -224,12 +228,9 @@ jobs: |
224 | 228 | strategy: |
225 | 229 | fail-fast: false |
226 | 230 | matrix: |
227 | | - # Browser suites only run on pushes, nightly runs and the release gate, so every run covers both OSes. |
228 | | - settings: |
229 | | - - name: linux |
230 | | - host: blacksmith-4vcpu-ubuntu-2404 |
231 | | - - name: windows |
232 | | - host: blacksmith-4vcpu-windows-2025 |
| 231 | + # The release gate runs the Linux browser suites only: the Windows legs still fail on dev pushes often |
| 232 | + # enough that a stable release must not wait for them. Pushes and nightly runs cover Windows. |
| 233 | + settings: ${{ fromJSON(inputs.release_gate && '[{"name":"linux","host":"blacksmith-4vcpu-ubuntu-2404"}]' || '[{"name":"linux","host":"blacksmith-4vcpu-ubuntu-2404"},{"name":"windows","host":"blacksmith-4vcpu-windows-2025"}]') }} |
233 | 234 | quarantine: ${{ fromJSON(inputs.quarantine && '[true]' || '[false]') }} |
234 | 235 | # Playwright splits whole spec files across shards by test count, not duration. Every app-N |
235 | 236 | # entry must use the same total, and the entries must cover 1..total. The service worker suite |
|
0 commit comments