We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c3902 commit daacd0dCopy full SHA for daacd0d
Makefile
@@ -477,5 +477,6 @@ test-coverage:
477
@EXCLUDE_PATTERN=$$(echo $(EXCLUDE_PACKAGES) | sed 's/ /|/g'); \
478
packages=$$(go list ./... | grep -Ev "$$EXCLUDE_PATTERN"); \
479
go test -v -short -p 1 -coverprofile=coverage.out $$packages; \
480
- OVERALL_COVERAGE=$$(go tool cover -func=coverage.out | grep total | awk '{print $$3}'); \
+ grep -v "zz_generated.deepcopy.go" coverage.out > coverage_filtered.out; \
481
+ OVERALL_COVERAGE=$$(go tool cover -func=coverage_filtered.out | grep total | awk '{print $$3}'); \
482
echo "Overall coverage: $$OVERALL_COVERAGE"
0 commit comments