Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
permissions:
contents: write # auto-push to the gh-pages branch

# The second store step skips fetching gh-pages, so it cannot recover
# from a push rejected by a concurrent run.
concurrency: benchmark

jobs:
benchmark:
runs-on: ubuntu-latest
Expand All @@ -29,7 +33,8 @@ jobs:
tool: 'customSmallerIsBetter'
output-file-path: tmp/benchmark/analysis_time.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Pushed by the next step so that GitHub Pages deploys once per run.
auto-push: false
summary-always: true
# Shared runners vary by 10-20%; only flag clear regressions.
alert-threshold: '150%'
Expand All @@ -42,6 +47,8 @@ jobs:
tool: 'customBiggerIsBetter'
output-file-path: tmp/benchmark/type_coverage.json
github-token: ${{ secrets.GITHUB_TOKEN }}
# Fetching would fail because the local gh-pages is ahead of the remote.
skip-fetch-gh-pages: true
auto-push: true
summary-always: true
alert-threshold: '100%'
Expand Down
Loading