From 91b8d781bd8b31d36060c053d4959c97b52745b3 Mon Sep 17 00:00:00 2001 From: "dayuan.jiang" Date: Thu, 8 Oct 2026 18:27:59 +0900 Subject: [PATCH] ci: six e2e shards With four, the shard of the long workspace tests took 8 minutes while the others took 4 to 5. --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a712c24b..fc2d7798 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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