Skip to content

Commit

Permalink
Merge pull request #2024 from Adirio/increase-coverage
Browse files Browse the repository at this point in the history
🌱 Enable cross-package coverage
  • Loading branch information
k8s-ci-robot authored Feb 17, 2021
2 parents 2398445 + d71b1a9 commit 2d9367e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ test-unit: ## Run the unit tests
.PHONY: test-coverage
test-coverage: ## Run unit tests creating the output to report coverage
- rm -rf *.out # Remove all coverage files if exists
go test -race -failfast -tags=integration -coverprofile=coverage-all.out ./cmd/... ./pkg/... ./plugins/...
go test -race -failfast -tags=integration -coverprofile=coverage-all.out -coverpkg="./pkg/cli/...,./pkg/config/...,./pkg/internal/...,./pkg/model/...,./pkg/plugin/...,./pkg/plugins/golang,./pkg/plugins/internal/..." ./pkg/...

.PHONY: test-integration
test-integration: ## Run the integration tests
Expand Down

0 comments on commit 2d9367e

Please sign in to comment.