ci: speed up e2e checks (#1361)
This commit is contained in:
@@ -97,7 +97,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
e2e:
|
||||
name: E2E Shard ${{ matrix.shard }}/10
|
||||
name: E2E Shard ${{ matrix.shard }}/14
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
# Pre-baked image bundles Node 24, pnpm 9.15.9, and the Playwright browser
|
||||
@@ -136,7 +136,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -180,9 +180,9 @@ jobs:
|
||||
# executor and the SSH executor's sshd target). Without --project the
|
||||
# container-bound specs would run here too, fail seeding (Docker not
|
||||
# enabled for these shards), and spam every shard.
|
||||
- name: Run E2E tests (shard ${{ matrix.shard }}/10)
|
||||
- name: Run E2E tests (shard ${{ matrix.shard }}/14)
|
||||
working-directory: apps/web
|
||||
run: npx playwright test --config e2e/playwright.config.ts --project=chromium --project=mobile-chrome --shard=${{ matrix.shard }}/10
|
||||
run: npx playwright test --config e2e/playwright.config.ts --project=chromium --project=mobile-chrome --shard=${{ matrix.shard }}/14
|
||||
|
||||
- name: Upload blob report
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user