ci: run all benchmarks (#5371)

* ci: run all benchmarks

* more options

* Update .github/workflows/benchmark.yaml

Co-authored-by: Joe Kralicky <joekralicky@gmail.com>

---------

Co-authored-by: Joe Kralicky <joekralicky@gmail.com>
This commit is contained in:
Caleb Doxsey 2024-12-13 12:13:30 -07:00 committed by GitHub
parent ecd2855dcc
commit 3d53f26d18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,12 +48,15 @@ jobs:
- name: integration tests
run: |
go test -bench Benchmark ./integration/... | tee benchmark.txt
go test -run='^$' -bench=. ./... | tee benchmark.txt
- name: store benchmark
uses: benchmark-action/github-action-benchmark@v1
uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7
with:
tool: "go"
output-file-path: benchmark.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
fail-on-alert: true
comment-on-alert: true
summary-always: true