We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32de923 commit 6645bb1Copy full SHA for 6645bb1
1 file changed
Makefile
@@ -117,7 +117,7 @@ check-go-mod-tidy:
117
@ .github/scripts/go-mod-tidy-check.sh && echo "go.mod and go.sum are tidy!"
118
119
.PHONY: unit
120
-unit: ## Run unit tests
+unit: $(RESULTS_DIR) ## Run unit tests
121
$(call title,Running unit tests)
122
go test -coverprofile $(COVER_REPORT) $(shell go list ./... | grep -v anchore/docker-sbom-cli-plugin/test)
123
@go tool cover -func $(COVER_REPORT) | grep total | awk '{print substr($$3, 1, length($$3)-1)}' > $(COVER_TOTAL)
0 commit comments