Run all tests and benchmarks twice
This helps detect bad cleanup in tests, which is very common.
This commit is contained in:
parent
d1e2d7ff92
commit
8b368b3832
|
@ -20,7 +20,7 @@ jobs:
|
|||
go-version: 1.17
|
||||
|
||||
- name: Test
|
||||
run: go test -race ./...
|
||||
run: go test -race -count 2 -bench . ./...
|
||||
|
||||
- name: Bench
|
||||
run: go test -run @ -bench . ./...
|
||||
|
|
Loading…
Reference in New Issue