From fa65aeda36b6eaa8a37ac281774412b1521dd539 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 11 Feb 2024 09:48:06 -0800 Subject: [PATCH] Reduce number of test shards to match GitHub's limit of 5 concurrent macos jobs --- .github/workflows/go-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index a62f6c6..63ae9b2 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, macos-14] - test_shard: ["0", "1", "2", "3", "4", "5", "6"] + test_shard: ["0", "1", "2", "3", "4"] fail-fast: false steps: - uses: actions/checkout@v4 @@ -70,7 +70,7 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: | go install gotest.tools/gotestsum@bc98120 - NUM_TEST_SHARDS=6 CURRENT_SHARD_NUM=${{ matrix.test_shard }} make test + NUM_TEST_SHARDS=5 CURRENT_SHARD_NUM=${{ matrix.test_shard }} make test - name: Extra Delay run: |