Test benchmarks in a separate step and limit executions
This commit is contained in:
parent
ffb98097fa
commit
2b0ec5d762
|
@ -20,7 +20,10 @@ jobs:
|
|||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Test
|
||||
run: go test -race -count 2 -bench . ./...
|
||||
run: go test -race -count 2 ./...
|
||||
|
||||
- name: Test Benchmarks
|
||||
run: go test -race -run @ -bench . -benchtime 2x ./...
|
||||
|
||||
- name: Bench
|
||||
run: go test -run @ -bench . ./...
|
||||
|
|
Loading…
Reference in New Issue