Include vendor/k8s.io in coverage.

pull/58/head
Katharine Berry 2018-10-17 17:15:27 -07:00
parent bc79dcfd05
commit 9ec5b7ffde
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ kube::golang::build_some_binaries() {
go test -c -o "$(kube::golang::outfile_for_binary "${package}" "${platform}")" \
-covermode count \
-coverpkg k8s.io/... \
-coverpkg k8s.io/...,k8s.io/kubernetes/vendor/k8s.io/... \
"${build_args[@]}" \
-tags coverage \
"${package}"