mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 18:06:34 +02:00
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:
parent
ecd2855dcc
commit
3d53f26d18
1 changed files with 5 additions and 2 deletions
7
.github/workflows/benchmark.yaml
vendored
7
.github/workflows/benchmark.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue