mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-25 09:43:20 +01:00
Reduce number of test shards to match GitHub's limit of 5 concurrent macos jobs
This commit is contained in:
parent
ffb06feca3
commit
fa65aeda36
4
.github/workflows/go-test.yml
vendored
4
.github/workflows/go-test.yml
vendored
@ -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: |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user