From 674594e9e2681e4cd080628b34695480c0ff0f10 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Tue, 16 Jul 2024 10:47:45 -0400 Subject: [PATCH] [ci] Try sharding test_build ghstack-source-id: 9932c84a040fd7b0a4a508ba651409d0153b0018 Pull Request resolved: https://github.com/facebook/react/pull/30349 --- .github/workflows/runtime_build_and_test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runtime_build_and_test.yml b/.github/workflows/runtime_build_and_test.yml index 99613e6043f4d..fb942607ff3bb 100644 --- a/.github/workflows/runtime_build_and_test.yml +++ b/.github/workflows/runtime_build_and_test.yml @@ -219,6 +219,10 @@ jobs: # TODO: Test more persistent configurations? ] + shard: + - 1/3 + - 2/3 + - 3/3 continue-on-error: true runs-on: ubuntu-latest steps: @@ -242,7 +246,7 @@ jobs: merge-multiple: true - name: Display structure of build run: ls -R build - - run: yarn test --build ${{ matrix.test_params }} --ci=github + - run: yarn test --build ${{ matrix.test_params }} --shard=${{ matrix.shard }} --ci=github process_artifacts_combined: name: Process artifacts combined