Browse Source

dont count code coverage support tool in project coverage

Marty Schoch 3 years ago
parent
commit
a771e344ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/project-code-coverage.sh

+ 1 - 1
docs/project-code-coverage.sh

@@ -21,7 +21,7 @@ done
 
 # collect integration test coverage
 echo "mode: count" > integration-acc.out
-INTPACKS=`go list ./... | grep -v vendor | grep -v utils | grep -v 'store/test' | xargs | sed 's/ /,/g'`
+INTPACKS=`go list ./... | grep -v vendor | grep -v utils | grep -v 'store/test' | grep -v docs | xargs | sed 's/ /,/g'`
 returnval=`go test -coverpkg=$INTPACKS -coverprofile=profile.out -covermode=count ./test`
 if [[ ${returnval} != *FAIL* ]]
 then