Skip to content

Commit 56e4256

Browse files
authored
Merge pull request #3596 from yash97/coverage.out
fix: combine unit-test coverage to single file
2 parents 1d58551 + 549b093 commit 56e4256

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ multi-arch-cni-init-build-push:
220220
# Run unit tests
221221
unit-test: export AWS_VPC_K8S_CNI_LOG_FILE=stdout
222222
unit-test: ## Run unit tests
223-
go test -v $(VENDOR_OVERRIDE_FLAG) -coverprofile=coverage.txt -covermode=atomic ./cmd/...
224-
go test -v $(VENDOR_OVERRIDE_FLAG) -coverprofile=coverage.txt -covermode=atomic ./pkg/...
223+
go test -v $(VENDOR_OVERRIDE_FLAG) -coverprofile=coverage.txt -covermode=atomic ./cmd/... ./pkg/...
225224

226225
# Run unit tests with race detection (can only be run natively)
227226
unit-test-race: export AWS_VPC_K8S_CNI_LOG_FILE=stdout

0 commit comments

Comments
 (0)