From 259453007e2fde06122e2a15d2376636e43d1886 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 7 Jul 2023 11:15:50 +0100 Subject: [PATCH] chore(Makefile): add test-race target (#8357) * chore(Makefile): add test-race target * fixup! chore(Makefile): add test-race target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index efa679dc06..84f2ceebb3 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: test-clean + gotestsum --junitfile="gotests.xml" -- -race ./... +.PHONY: test-race + test-clean: go clean -testcache .PHONY: test-clean