mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-08-21 15:54:48 +00:00
CI: Enabled race detector in tests
This commit is contained in:
parent
2afcd1bc87
commit
a4a9a24424
|
@ -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