mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-16 23:16:48 +00:00
Fixed coverage issues
This commit is contained in:
committed by
Adrian Gallagher
parent
9fd732f32d
commit
f302efeb68
2
test.sh
2
test.sh
@@ -4,7 +4,7 @@ set -e
|
||||
echo "" > coverage.txt
|
||||
|
||||
for d in $(go list ./... | grep -v vendor); do
|
||||
go test -race -coverprofile=profile.out -covermode=atomic $d
|
||||
go test -race -coverprofile=profile.out -covermode=atomic -cover $d
|
||||
if [ -f profile.out ]; then
|
||||
cat profile.out >> coverage.txt
|
||||
rm profile.out
|
||||
|
||||
Reference in New Issue
Block a user