update sharding

This commit is contained in:
Bryce Lampe
2024-08-15 10:33:03 -07:00
parent 08245eaffd
commit d5b79b4a1d
3 changed files with 2 additions and 123 deletions

View File

@@ -251,7 +251,7 @@ jobs:
with:
skip_install: true
- name: Shard tests
run: mise run "test:examples:shard" -- -n ${{ strategy.job-total }} --shard ${{ strategy.job-index }} > go-test
run: mise run "test:examples:shard" -- --total ${{ strategy.job-total }} --index ${{ strategy.job-index }} > go-test
- name: Run tests
run: mise run "test:examples" $(cat go-test) 2>&1 | tee /tmp/gotest.log | gotestfmt
- if: failure() && github.event_name == 'push'