Skip to content

Commit

Permalink
fixup! ci: add benchmark job to workflow
Browse files Browse the repository at this point in the history
use default iterations
  • Loading branch information
trym-b committed Mar 12, 2024
1 parent 43f7344 commit d052900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
go-version: "1.21"
- name: Run benchmark
run: go test ./... -bench="Bench" -count 10 | tee benchmark-result.txt
run: go test ./... -bench="Bench" | tee benchmark-result.txt
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-benchmark-results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
go-version: "1.21"
- name: Run benchmarks
run: go test ./... -bench="Bench" -count 10 | tee benchmark-result.txt
run: go test ./... -bench="Bench" | tee benchmark-result.txt
- name: Publish benchmark results
uses: benchmark-action/github-action-benchmark@v1
with:
Expand Down

0 comments on commit d052900

Please sign in to comment.