We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5a4d8d commit bf07b0bCopy full SHA for bf07b0b
Makefile
@@ -56,7 +56,7 @@ test: ## Run unit tests
56
.PHONY: test-coverage-and-junit
57
test-coverage-and-junit: ## Run unit tests with coverage and junit output
58
go install github.com/jstemmer/go-junit-report/v2@v2.1.0
59
- $(GOTEST) -v -cover -race -coverprofile=$(COVERAGE_OUT) ./... -json 2>&1 | go-junit-report -parser gojson > $(JUNIT_OUT)
+ $(GOTEST) -v -cover -race -coverprofile=$(COVERAGE_OUT) ./... -json 2>&1 | grep -v -E 'internal\/toolsets\/mock|internal\/testutil' | go-junit-report -set-exit-code -parser gojson > $(JUNIT_OUT)
60
61
.PHONY: coverage-html
62
coverage-html: test ## Generate and open HTML coverage report
0 commit comments