forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Produce a combined coverage report when running Go unit tests.
The Go coverage tool does not currently support recording a coverage data profile across packages, so we must manually combine these coverage profiles and use it to produce an HTML report when KUBE_COVER is nonempty. The exact value of KUBE_COVER is now ignored; KUBE_COVERMODE can be used to set the coverage mode from the default of "atomic". Additionally, if KUBE_GOVERALLS_BIN is set, hack/test-go.sh will attempt to report coverage results to Coveralls.io. This is intended to be used with the Travis build.
- Loading branch information
Showing
2 changed files
with
54 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters