Skip to content

ci: fix tests not outputting enough details #22

ci: fix tests not outputting enough details

ci: fix tests not outputting enough details #22

Workflow file for this run

name: Benchmark
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
deployments: write
jobs:
test:
name: Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@v4
with:
node-version-file: web/package.json
cache: "npm"
cache-dependency-path: web/package-lock.json
- run: make web-install web-build
- run: make test-env-start
- run: make install-deps
- run: make bench
- uses: benchmark-action/github-action-benchmark@v1
with:
name: Gravity Benchmark
tool: 'go'
output-file-path: test-output
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '200%'
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: '@BeryJu'
summary-always: true