Prevent go test to update go.mod
parent
bfdb705803
commit
04c2c3845c
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in New Issue