mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 15:10:44 +00:00
Fixed coverage issues
This commit is contained in:
committed by
Adrian Gallagher
parent
9fd732f32d
commit
f302efeb68
1288
coverage.txt
1288
coverage.txt
File diff suppressed because it is too large
Load Diff
2
test.sh
2
test.sh
@@ -4,7 +4,7 @@ set -e
|
|||||||
echo "" > coverage.txt
|
echo "" > coverage.txt
|
||||||
|
|
||||||
for d in $(go list ./... | grep -v vendor); do
|
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
|
if [ -f profile.out ]; then
|
||||||
cat profile.out >> coverage.txt
|
cat profile.out >> coverage.txt
|
||||||
rm profile.out
|
rm profile.out
|
||||||
|
|||||||
Reference in New Issue
Block a user