From 3c966cb32a7ac2cf9a185c7261d7351fd0e97f8a Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 7 Jul 2023 11:01:25 +0100 Subject: [PATCH 1/2] chore(Makefile): add test-race target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index efa679dc0614a..9e5b4370805d6 100644 --- a/Makefile +++ b/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: + gotestsum --junitfile="gotests.xml" -- -race ./... +.PHONY: test-race + test-clean: go clean -testcache .PHONY: test-clean From 40e362a39d8ae1a30994c8f58cbfdc0e505cbff4 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 7 Jul 2023 11:02:52 +0100 Subject: [PATCH 2/2] fixup! chore(Makefile): add test-race target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9e5b4370805d6..84f2ceebb3386 100644 --- a/Makefile +++ b/Makefile @@ -669,7 +669,7 @@ test-postgres-docker: .PHONY: test-postgres-docker # Make sure to keep this in sync with test-go-race from .github/workflows/ci.yaml. -test-race: +test-race: test-clean gotestsum --junitfile="gotests.xml" -- -race ./... .PHONY: test-race