ci: six e2e shards

With four, the shard of the long workspace tests took 8 minutes while
the others took 4 to 5.
This commit is contained in:
dayuan.jiang
2026-10-08 18:27:59 +09:00
parent 74a40082f4
commit 91b8d781bd
+5 -5
View File
@@ -43,14 +43,14 @@ jobs:
run: npm --prefix packages/mcp-server run build && npm --prefix packages/mcp-server run check-package
e2e:
# Four jobs at once, each with a quarter of the tests and one worker:
# the same conditions per test, about a quarter of the time
name: E2E Tests (${{ matrix.shard }}/4)
# Six jobs at once, each with a sixth of the tests and one worker: the
# same conditions per test, a fraction of the time
name: E2E Tests (${{ matrix.shard }}/6)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4]
shard: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/checkout@v6
@@ -82,7 +82,7 @@ jobs:
run: npm run build
- name: Run E2E tests
run: npm run test:e2e -- --shard=${{ matrix.shard }}/4
run: npm run test:e2e -- --shard=${{ matrix.shard }}/6
env:
CI: true