bench: don't alert on CI benchmark changes

This commit is contained in:
David Hewitt 2021-07-19 20:56:43 +01:00
parent 614fab7a15
commit acede283e1

View file

@ -47,18 +47,11 @@ jobs:
with:
name: pyo3-bench
# What benchmark tool the output.txt came from
tool: 'cargo'
tool: "cargo"
# Where the output from the benchmark tool is stored
output-file-path: output.txt
# # Where the previous data file is stored
# external-data-json-path: ./cache/benchmark-data.json
# Workflow will fail when an alert happens
fail-on-alert: true
# GitHub API token to make a commit comment
github-token: ${{ secrets.GITHUB_TOKEN }}
# Enable alert commit comment
comment-on-alert: true
alert-comment-cc-users: '@PyO3/pyo3'
auto-push: ${{ github.event_name != 'pull_request' }}
pytest-benchmark:
@ -98,10 +91,7 @@ jobs:
uses: rhysd/github-action-benchmark@v1
with:
name: pytest-bench
tool: 'pytest'
tool: "pytest"
output-file-path: output.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
alert-comment-cc-users: '@PyO3/pyo3'
auto-push: ${{ github.event_name != 'pull_request' }}