Skip to content

Commit f4bf8e6

Browse files
committed
ci: isolate benchmark publish steps so failures don't cascade
1 parent c23e375 commit f4bf8e6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/benchmark.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888

8989
# only update the benchmark baseline on push/dispatch, not on PRs
9090
- name: Store EVM Contract Roundtrip result
91+
if: always()
9192
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
9293
with:
9394
name: EVM Contract Roundtrip
@@ -102,9 +103,11 @@ jobs:
102103

103104
# delete local gh-pages so the next benchmark action step fetches fresh from remote
104105
- name: Reset local gh-pages branch
106+
if: always()
105107
run: git branch -D gh-pages || true
106108

107109
- name: Store Block Executor result
110+
if: always()
108111
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
109112
with:
110113
name: Block Executor Benchmark
@@ -119,9 +122,11 @@ jobs:
119122

120123
# delete local gh-pages so the next benchmark action step fetches fresh from remote
121124
- name: Reset local gh-pages branch
125+
if: always()
122126
run: git branch -D gh-pages || true
123127

124128
- name: Store Spamoor Trace result
129+
if: always()
125130
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
126131
with:
127132
name: Spamoor Trace Benchmarks
@@ -131,5 +136,5 @@ jobs:
131136
save-data-file: ${{ github.event_name != 'pull_request' }}
132137
github-token: ${{ secrets.GITHUB_TOKEN }}
133138
alert-threshold: '150%'
134-
fail-on-alert: true
139+
fail-on-alert: false
135140
comment-on-alert: true

0 commit comments

Comments
 (0)