Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Commit

Permalink
coverage: Don't consider vendored library
Browse files Browse the repository at this point in the history
Our coverage script should not count the vendored mapstructure library
when calculating total coverage.
  • Loading branch information
abhinav committed May 3, 2017
1 parent 1a72698 commit 7cabf7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/cover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ for pkg in "$@"; do
-v "$pkg"
done

gocovmerge "$COVER"/*.out > cover.out
gocovmerge "$COVER"/*.out \
| grep -v /internal/mapstructure \
> cover.out

0 comments on commit 7cabf7c

Please sign in to comment.