Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ jobs:
- run: pnpm test

e2e:
name: E2E tests
name: E2E tests (${{ matrix.shard }}/4)
runs-on: ubuntu-latest
needs: qa
# The e2e suite runs serially (fixed auth callback port), so split it across
# runners by file instead. Each shard gets its own machine and port.
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4]
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
Expand All @@ -44,4 +50,18 @@ jobs:
cache: pnpm

- run: pnpm install --frozen-lockfile
- run: pnpm test:e2e
- run: pnpm test:e2e --shard=${SHARD}/4
env:
SHARD: ${{ matrix.shard }}

# Stable check name that reports the combined result of all e2e shards.
e2e-result:
name: E2E tests
runs-on: ubuntu-latest
needs: e2e
if: ${{ !cancelled() }}
permissions: {}
steps:
- run: test "${RESULT}" = success
env:
RESULT: ${{ needs.e2e.result }}
Loading