Skip to content

Commit

Permalink
ci: make bench step fail on benchmark error
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmaggiowski committed Mar 14, 2024
1 parent e0bd963 commit 78ca4f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Use golang ${{ matrix.go_version }}
- name: Use golang latest
uses: actions/setup-go@v5
with:
go-version: 'stable'
Expand All @@ -74,7 +74,7 @@ jobs:
with:
go-version: ${{ matrix.go_version }}
- name: Run benchmark
run: make bench | tee output.txt
run: make bench | tee output.txt; exit ${PIPESTATUS[0]}
- name: Download previous benchmark data
uses: actions/cache/restore@v4
with:
Expand Down

0 comments on commit 78ca4f6

Please sign in to comment.