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 }})