From 70f7450bab5e4463d9cc1123fb5082e889c60ea7 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 10 Jun 2026 09:00:28 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9F=20ci:=20Shard=20Windows=20Frontend?= =?UTF-8?q?=20Unit=20Tests=20(#13651)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🪟 ci: Shard Windows Frontend Unit Tests Mirror the 4-way jest sharding the Ubuntu frontend test job already uses onto the Windows job, which currently runs the whole client suite in a single 20-minute job. Also drops the `--verbose` flag, which npm consumed itself (it preceded `--`) and only raised npm's own log level. * 🪟 ci: Trigger Frontend Tests on Workflow Changes --- .github/workflows/frontend-review.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/frontend-review.yml b/.github/workflows/frontend-review.yml index 130b659545..a3f31efba6 100644 --- a/.github/workflows/frontend-review.yml +++ b/.github/workflows/frontend-review.yml @@ -6,6 +6,7 @@ on: - 'client/**' - 'packages/client/**' - 'packages/data-provider/**' + - '.github/workflows/frontend-review.yml' permissions: contents: read @@ -170,10 +171,14 @@ jobs: working-directory: client test-windows: - name: 'Tests: Windows' + name: 'Tests: Windows (shard ${{ matrix.shard }}/4)' needs: build runs-on: windows-latest timeout-minutes: 20 + strategy: + fail-fast: false + matrix: + shard: [1, 2, 3, 4] steps: - uses: actions/checkout@v4 @@ -209,8 +214,8 @@ jobs: name: build-client-package path: packages/client/dist - - name: Run unit tests - run: npm run test:ci --verbose + - name: Run unit tests (shard ${{ matrix.shard }}/4) + run: npm run test:ci -- --shard=${{ matrix.shard }}/4 working-directory: client build-verify: