1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-27 09:12:53 +00:00

CI: Enabled race detector in tests

This commit is contained in:
diamondburned 2020-10-29 11:38:54 -07:00
parent f88d4e4b1e
commit 20b539754e

View file

@ -30,7 +30,7 @@
"variables": [ "$BOT_TOKEN" ]
},
"script": [
"go test -v -coverprofile $COV ./...",
"go test -coverprofile -race -v $COV ./...",
"go tool cover -func $COV"
]
},
@ -45,7 +45,7 @@
"script": [
"go get ./...",
# Test this package along with dismock.
"go test -coverpkg $tested -coverprofile $COV -tags integration -v ./... $dismock",
"go test -coverpkg $tested -coverprofile $COV -tags integration -race -v ./... $dismock",
"go tool cover -func $COV"
]
}