mirror of https://github.com/gofiber/fiber.git
Update benchmark.yml
We should only fail during a PR, not during a mergepull/3083/head
parent
8e1470fa4a
commit
ef073601e3
|
@ -77,7 +77,7 @@ jobs:
|
|||
external-data-json-path: ./cache/benchmark-data.json
|
||||
# Save the data to external file (cache)
|
||||
save-data-file: true
|
||||
fail-on-alert: true
|
||||
fail-on-alert: false
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
summary-always: true
|
||||
alert-threshold: "150%"
|
||||
|
@ -89,7 +89,7 @@ jobs:
|
|||
tool: 'go'
|
||||
output-file-path: output.txt
|
||||
benchmark-data-dir-path: "benchmarks"
|
||||
fail-on-alert: true
|
||||
fail-on-alert: false
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
comment-on-alert: true
|
||||
summary-always: true
|
||||
|
@ -105,4 +105,4 @@ jobs:
|
|||
if: ${{ github.ref_name == 'main' }}
|
||||
with:
|
||||
path: ./cache
|
||||
key: ${{ steps.get-main-branch-sha.outputs.sha }}-${{ runner.os }}-${{ steps.system-info.outputs.cpu-model }}-benchmark
|
||||
key: ${{ steps.get-main-branch-sha.outputs.sha }}-${{ runner.os }}-${{ steps.system-info.outputs.cpu-model }}-benchmark
|
||||
|
|
Loading…
Reference in New Issue