Merge pull request #1732 from davidhewitt/no-bench-alert

bench: don't alert on CI benchmark changes
This commit is contained in:
messense 2021-07-20 08:40:37 +08:00 committed by GitHub
commit 7957521b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 12 deletions

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' }}