diff --git a/magefile.go b/magefile.go index fa4282462..0ceaf9c8c 100644 --- a/magefile.go +++ b/magefile.go @@ -72,6 +72,7 @@ func runCITests(extraTestArgs ...string) error { args = append(args, "-tags=jwx_es256k") args = append(args, "-covermode=atomic") args = append(args, "-coverprofile=coverage.out") + args = append(args, "-race") args = append(args, extraTestArgs...) args = append(args, "./...") testEnv := map[string]string{ @@ -91,6 +92,7 @@ func runTests(extraTestArgs ...string) error { args = append(args, "-v") } args = append(args, "-tags=jwx_es256k") + args = append(args, "-race") args = append(args, extraTestArgs...) args = append(args, "./...") testEnv := map[string]string{