Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
added -race flag to magefile
Browse files Browse the repository at this point in the history
  • Loading branch information
andorsk committed Jul 28, 2022
1 parent d5b7f20 commit 15511d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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{
Expand Down

0 comments on commit 15511d4

Please sign in to comment.