Skip to content

Commit

Permalink
Merge pull request #968 from BenTheElder/cover
Browse files Browse the repository at this point in the history
unit testing: cover kind only
  • Loading branch information
k8s-ci-robot authored Oct 20, 2019
2 parents 6d9c646 + 4d77321 commit 7dd62cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/ci/unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SOURCE_DIR="${REPO_ROOT}/hack/tools" GOOS=linux hack/go_container.sh \
# run unit tests with coverage enabled and junit output
GOOS=linux hack/go_container.sh \
/out/gotestsum --junitfile=/out/junit.xml -- \
-coverprofile=/out/unit.cov -covermode count -coverpkg sigs.k8s.io/... ./...
-coverprofile=/out/unit.cov -covermode count -coverpkg sigs.k8s.io/kind/... ./...

# filter out generated files
sed '/zz_generated/d' bin/unit.cov > bin/filtered.cov
Expand Down

0 comments on commit 7dd62cd

Please sign in to comment.