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.
2 parents 018b07a + fe4697a commit 7f75f45Copy full SHA for 7f75f45
.github/workflows/benchmark.yml
@@ -58,11 +58,8 @@ jobs:
58
# Fail the job based on the benchmark output
59
- name: Finalize job
60
run: |
61
- REPORT="${{ steps.benchmark.outputs.REPORT }}"
62
- IS_SLOWER=$(grep "At least one benchmark is slower than the main branch" <<< "$REPORT")
63
- IS_MISSING=$(grep "Missing benchmarks" <<< "$REPORT")
64
-
65
- if [[ $IS_SLOWER || $IS_MISSING ]]; then
+ report="${{ steps.benchmark.outputs.REPORT }}"
+ if [[ "$report" == *"At least one benchmark is slower than the main branch"* ]] || [[ "$report" == *"Missing benchmarks"* ]]; then
66
exit 1
67
else
68
exit 0
0 commit comments