Skip to content

Commit 2594530

Browse files
authored
chore(Makefile): add test-race target (#8357)
* chore(Makefile): add test-race target * fixup! chore(Makefile): add test-race target
1 parent 6468763 commit 2594530

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,11 @@ test-postgres-docker:
668668
done
669669
.PHONY: test-postgres-docker
670670

671+
# Make sure to keep this in sync with test-go-race from .github/workflows/ci.yaml.
672+
test-race: test-clean
673+
gotestsum --junitfile="gotests.xml" -- -race ./...
674+
.PHONY: test-race
675+
671676
test-clean:
672677
go clean -testcache
673678
.PHONY: test-clean

0 commit comments

Comments
 (0)