Skip to content

Commit 0757c89

Browse files
janiszclaude
andcommitted
Exclude smoke tests from standard test-coverage-and-junit target
The smoke package uses build tags and should not be included in the standard test run. This prevents covdata tool errors when running tests without the smoke tag. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 237b739 commit 0757c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ e2e-test: ## Run E2E tests (uses WireMock)
7878
.PHONY: test-coverage-and-junit
7979
test-coverage-and-junit: ## Run unit tests with coverage and junit output
8080
go install github.com/jstemmer/go-junit-report/v2@v2.1.0
81-
$(GOTEST) -v -cover -race -coverprofile=$(COVERAGE_OUT) ./... 2>&1 | go-junit-report -set-exit-code -iocopy -out $(JUNIT_OUT)
81+
$(GOTEST) -v -cover -race -coverprofile=$(COVERAGE_OUT) $(shell go list ./... | grep -v '/smoke$$') 2>&1 | go-junit-report -set-exit-code -iocopy -out $(JUNIT_OUT)
8282

8383
.PHONY: test-integration-coverage
8484
test-integration-coverage: ## Run integration tests with coverage

0 commit comments

Comments
 (0)