Run all tests and benchmarks twice

This helps detect bad cleanup in tests, which is very common.
This commit is contained in:
Matt Joiner 2021-10-27 15:15:27 +11:00
parent d1e2d7ff92
commit 8b368b3832
1 changed files with 1 additions and 1 deletions

View File

@ -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 . ./...