We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75b064a commit 2ca0edeCopy full SHA for 2ca0ede
1 file changed
.github/workflows/benchmark.yml
@@ -2,7 +2,7 @@ name: Benchmark
2
on: [ pull_request, push, workflow_dispatch ]
3
4
permissions:
5
- contents: read
+ contents: write
6
7
env:
8
UV_FROZEN: true
@@ -36,6 +36,18 @@ jobs:
36
with:
37
name: benchmark-output
38
path: output.json
39
+ - name: Benchmark results
40
+ uses: benchmark-action/github-action-benchmark@v1
41
+ with:
42
+ tool: 'pytest'
43
+ output-file-path: output.json
44
+ external-data-json-path: ./cache/benchmark-data.json
45
+ fail-on-alert: true
46
+ alert-threshold: '10%'
47
+ # to make a commit comment
48
+ github-token: ${{ secrets.GITHUB_TOKEN }}
49
+ comment-on-alert: true
50
+ summary-always: true
51
52
- name: Append benchmark table to summary
53
if: always()
0 commit comments