Skip to content

Commit

Permalink
Add 5 minute timeout to individual workflow steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Mar 27, 2024
1 parent 0137573 commit b139046
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ jobs:
run: go install golang.org/x/perf/cmd/benchstat@latest

- name: Run Benchmark (previous)
timeout-minutes: 5
run: |
cd previous
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt
- name: Run Benchmark (new)
timeout-minutes: 5
run: |
cd new
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt
Expand Down

0 comments on commit b139046

Please sign in to comment.