mirror of https://github.com/coder/coder.git
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:
parent
64687631aa
commit
259453007e
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue