docs: run tests with gotestsum

This commit is contained in:
Peter 2022-08-07 20:10:40 +02:00
parent af4498700d
commit 5ac8ef51c9
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9

View file

@ -13,6 +13,9 @@ runs:
privileged: true
steps:
- clone:
- run:
name: Install Go tools
command: go install gotest.tools/gotestsum@latest
- run:
name: run all tests
command: go test ./...
command: gotestsum -f pkgname-and-test-fails -- -race -shuffle=on ./...