mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 10:43:30 +00:00
CI: Enabled race detector in tests
This commit is contained in:
parent
f88d4e4b1e
commit
20b539754e
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue