Reduce number of test shards to match GitHub's limit of 5 concurrent macos jobs

This commit is contained in:
David Dworken 2024-02-11 09:48:06 -08:00 committed by GitHub
parent ffb06feca3
commit fa65aeda36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: |