Skip to content

Commit 4a624fd

Browse files
committed
Add a make target for coverage
1 parent 1faa9a9 commit 4a624fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ verify:
4242
unit: generate
4343
go test ./...
4444

45+
cover:
46+
go test ./... -coverprofile=coverage.out
47+
go tool cover -html=coverage.out
48+
4549
e2e: generate
4650
go test ./test/e2e -tags e2e
4751

0 commit comments

Comments
 (0)