Skip to content

Commit dcf7d00

Browse files
committed
build: add -race to unit tests
1 parent aa4c9ba commit dcf7d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

magefiles/magefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type Test mg.Namespace
3232
// Runs the unit tests
3333
func (Test) Unit() error {
3434
fmt.Println("running unit tests")
35-
return sh.RunV(goCmdForTests(), "test", "./...")
35+
return sh.RunV(goCmdForTests(), "test", "-race", "-timeout", "30m", "./...")
3636
}
3737

3838
const (

0 commit comments

Comments
 (0)