Skip to content

Commit

Permalink
Add more comprehensive support for test sharding
Browse files Browse the repository at this point in the history
  • Loading branch information
ddworken committed Feb 11, 2024
1 parent 93d2b47 commit 8e7b078
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 125 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-14]
tests: [BASIC, TUI]
test_shards: ["0", "1", "2", "3", "4"]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
go install gotest.tools/gotestsum@bc98120
SPLIT_TESTS=${{ matrix.tests }} make test
NUM_TEST_SHARDS=5 CURRENT_SHARD_NUM=${{ matrix.test_shards }} make test
- name: Extra Delay
run: |
Expand Down
Loading

0 comments on commit 8e7b078

Please sign in to comment.