From 3d53f26d181ce7cc7165b4416ff783c9040cfdfd Mon Sep 17 00:00:00 2001 From: Caleb Doxsey Date: Fri, 13 Dec 2024 12:13:30 -0700 Subject: [PATCH] ci: run all benchmarks (#5371) * ci: run all benchmarks * more options * Update .github/workflows/benchmark.yaml Co-authored-by: Joe Kralicky --------- Co-authored-by: Joe Kralicky --- .github/workflows/benchmark.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index d13dadc9a..a687d29a8 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -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