Skip to content

Commit

Permalink
exclude some more directories from coverage report
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Alvarez <[email protected]>
  • Loading branch information
pendo324 committed Aug 8, 2024
1 parent 3e3f4c3 commit 2de33f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ release: check-licenses all download-licenses

.PHONY: coverage
coverage:
go test $(shell go list ./... | grep -v e2e) -coverprofile=test-coverage.out
go test $(shell go list ./... | grep -v e2e | grep -v benchmark | grep -v mocks) -coverprofile=test-coverage.out
go tool cover -html=test-coverage.out

.PHONY: download-licenses
Expand Down Expand Up @@ -252,7 +252,7 @@ check-licenses:

.PHONY: test-unit
test-unit:
go test $(shell go list ./... | grep -v e2e) -shuffle on
go test $(shell go list ./... | grep -v e2e | grep -v benchmark | grep -v mocks) -shuffle on

# test-e2e assumes the VM instance doesn't exist, please make sure to remove it before running.
#
Expand Down

0 comments on commit 2de33f6

Please sign in to comment.