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

CI: Enabled race detector in tests

This commit is contained in:
diamondburned 2020-10-29 11:38:54 -07:00
parent 2afcd1bc87
commit a4a9a24424

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"
]
}