diff --git a/Makefile b/Makefile index 5d4d6b20..227dd59f 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ release: .PHONY: test test: deps - $(GOTEST) --format testname --junitfile unit-tests.xml -- -coverprofile=cover.out.tmp -coverpkg=.,./pkg/... ./... + $(GOTEST) --format testname --junitfile unit-tests.xml -- -mod=readonly -coverprofile=cover.out.tmp -coverpkg=.,./pkg/... ./... cat cover.out.tmp | grep -v "mock_" > cover.out .PHONY: coverage