From b80a13286629e4f1a0b098c71d635d2a2c0d6dfc Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 13 Mar 2018 12:15:51 +0800 Subject: [PATCH] :green_heart: CI --- coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage.sh b/coverage.sh index 378fe42..62d68cd 100755 --- a/coverage.sh +++ b/coverage.sh @@ -8,7 +8,7 @@ set -e echo "mode: count" > profile.cov # Standard go tooling behavior is to ignore dirs with leading underscors -for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d); +for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -not -path './vendor' -type d); do if ls $dir/*.go &> /dev/null; then go test -covermode=count -coverprofile=$dir/profile.tmp $dir