From 8eb0f89d9cb4e16548bab03acdc5baffaadebd1d Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 3 May 2026 20:42:36 +0200 Subject: [PATCH] fix(Makefile): extract coverage --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6973ec7..2d4536f 100644 --- a/Makefile +++ b/Makefile @@ -49,10 +49,10 @@ test/integration: go test -v -p 1 -count=1 -timeout 1200s ./it/... PHONY+=test/coverage -test/coverage: test/unit +test/coverage: CGO_ENABLED=0 \ GOPROXY=$(shell go env GOPROXY) \ - go tool cover -html=coverage.txt + go tool cover -func=coverage.txt # GOLANGCI-LINT # ============================================================================== @@ -111,4 +111,4 @@ container-image/push: # ============================================================================== # Declare the contents of the PHONY variable as phony. We keep that information # in a variable so we can use it in if_changed. -.PHONY: ${PHONY} \ No newline at end of file +.PHONY: ${PHONY}