Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ test: fmt vet envtest ## Run tests.
unit-test-coverage: test
go tool cover -func coverage.out

# Unit-only coverage (skips envtest suites; excludes generated files from the metric).
.PHONY: unit-coverage
unit-coverage:
bash scripts/coverage-unit.sh

.PHONY: test-docker
test-docker:
docker build -t test -f test.Dockerfile . && docker run test
Expand Down
Loading
Loading