chore(Makefile): add test-race target (#8357)

* chore(Makefile): add test-race target

* fixup! chore(Makefile): add test-race target
This commit is contained in:
Cian Johnston 2023-07-07 11:15:50 +01:00 committed by GitHub
parent 64687631aa
commit 259453007e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -668,6 +668,11 @@ test-postgres-docker:
done
.PHONY: test-postgres-docker
# Make sure to keep this in sync with test-go-race from .github/workflows/ci.yaml.
test-race: test-clean
gotestsum --junitfile="gotests.xml" -- -race ./...
.PHONY: test-race
test-clean:
go clean -testcache
.PHONY: test-clean