Skip to content

Commit

Permalink
update sharding
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Aug 15, 2024
1 parent 08245ea commit d5b79b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 123 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ run = "make test_provider"
run = "go test -v -json -cover -timeout 2h -tags=all -parallel 4"

[tasks."test:examples:shard"]
run = "go run ./enumerate/main.go --root ./examples"
run = "go run github.com/blampe/shard@latest --root ./examples"

[tasks.schema]
run = "pulumi package get-schema bin/pulumi-resource-docker-build | jq 'del(.version)' > provider/cmd/pulumi-resource-docker-build/schema.json"
Expand Down
121 changes: 0 additions & 121 deletions enumerate/main.go

This file was deleted.

0 comments on commit d5b79b4

Please sign in to comment.