From e36acd50b849c297e75715cc3e66ffa4c21d1282 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Fri, 25 Sep 2026 10:47:58 +0200 Subject: [PATCH] ci: shard Cloudflare integration tests Co-Authored-By: GPT-6 --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45e298794f10..e2d48ac16ff9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -835,11 +835,15 @@ jobs: run: yarn test job_cloudflare_integration_tests: - name: Cloudflare Integration Tests + name: Cloudflare Integration Tests (${{ matrix.shard }}/2) needs: [job_get_metadata, job_build] if: needs.job_build.outputs.changed_cloudflare_integration == 'true' || github.event_name != 'pull_request' runs-on: ubuntu-24.04 timeout-minutes: 15 + strategy: + fail-fast: false + matrix: + shard: [1, 2] steps: - name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) uses: actions/checkout@v7 @@ -856,7 +860,7 @@ jobs: - name: Run integration tests working-directory: dev-packages/cloudflare-integration-tests - run: yarn test + run: yarn test --shard=${{ matrix.shard }}/2 job_bundler_plugin_integration_tests: name: Bundler Plugin Integration Tests (Node ${{ matrix.node }})