Skip to content

Commit

Permalink
build(ci): add regression job for test
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Sep 5, 2023
1 parent c2c43fd commit 01a0c55
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,27 @@ jobs:
with:
go-version: 'stable'
- run: go install -v github.com/palantir/go-license@latest
- run: make license-verify
- run: make license-verify

regression:
runs-on: ubuntu-latest
env:
out: benchmark.out
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- run: make bench | tee ${{ env.out }}
- uses: actions/cache@v3
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'go'
output-file-path: ${{ env.out }}
external-data-json-path: ./cache/benchmark-data.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true

0 comments on commit 01a0c55

Please sign in to comment.