|
|
@ -118,11 +118,12 @@ test-unit:
|
|
|
|
go test $(GOFLAGS) -run ^TestHelmCreateChart_CheckDeprecatedWarnings$$ ./internal/chart/v3/lint/ $(TESTFLAGS) -ldflags '$(LDFLAGS)'
|
|
|
|
go test $(GOFLAGS) -run ^TestHelmCreateChart_CheckDeprecatedWarnings$$ ./internal/chart/v3/lint/ $(TESTFLAGS) -ldflags '$(LDFLAGS)'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# To run the coverage for a specific package use: make test-coverage PKG=./pkg/action
|
|
|
|
.PHONY: test-coverage
|
|
|
|
.PHONY: test-coverage
|
|
|
|
test-coverage:
|
|
|
|
test-coverage:
|
|
|
|
@echo
|
|
|
|
@echo
|
|
|
|
@echo "==> Running unit tests with coverage <=="
|
|
|
|
@echo "==> Running unit tests with coverage: $(PKG) <=="
|
|
|
|
@ ./scripts/coverage.sh
|
|
|
|
@ ./scripts/coverage.sh $(PKG)
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: test-style
|
|
|
|
.PHONY: test-style
|
|
|
|
test-style:
|
|
|
|
test-style:
|
|
|
@ -148,10 +149,6 @@ test-acceptance: build build-cross
|
|
|
|
test-acceptance-completion: ACCEPTANCE_RUN_TESTS = shells.robot
|
|
|
|
test-acceptance-completion: ACCEPTANCE_RUN_TESTS = shells.robot
|
|
|
|
test-acceptance-completion: test-acceptance
|
|
|
|
test-acceptance-completion: test-acceptance
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: coverage
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
|
|
|
|
@scripts/coverage.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: format
|
|
|
|
.PHONY: format
|
|
|
|
format: $(GOIMPORTS)
|
|
|
|
format: $(GOIMPORTS)
|
|
|
|
go list -f '{{.Dir}}' ./... | xargs $(GOIMPORTS) -w -local helm.sh/helm
|
|
|
|
go list -f '{{.Dir}}' ./... | xargs $(GOIMPORTS) -w -local helm.sh/helm
|
|
|
|