Skip to content

Commit e36acd5

Browse files
nicohrubeccodex
andcommitted
ci: shard Cloudflare integration tests
Co-Authored-By: GPT-6 <codex@openai.com>
1 parent daacc2b commit e36acd5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,11 +835,15 @@ jobs:
835835
run: yarn test
836836

837837
job_cloudflare_integration_tests:
838-
name: Cloudflare Integration Tests
838+
name: Cloudflare Integration Tests (${{ matrix.shard }}/2)
839839
needs: [job_get_metadata, job_build]
840840
if: needs.job_build.outputs.changed_cloudflare_integration == 'true' || github.event_name != 'pull_request'
841841
runs-on: ubuntu-24.04
842842
timeout-minutes: 15
843+
strategy:
844+
fail-fast: false
845+
matrix:
846+
shard: [1, 2]
843847
steps:
844848
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
845849
uses: actions/checkout@v7
@@ -856,7 +860,7 @@ jobs:
856860

857861
- name: Run integration tests
858862
working-directory: dev-packages/cloudflare-integration-tests
859-
run: yarn test
863+
run: yarn test --shard=${{ matrix.shard }}/2
860864

861865
job_bundler_plugin_integration_tests:
862866
name: Bundler Plugin Integration Tests (Node ${{ matrix.node }})

0 commit comments

Comments
 (0)