Skip to content

Commit addacb5

Browse files
rvaggStebalien
authored andcommitted
chore: add coverage make target
1 parent be2d564 commit addacb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ test:
88
go test ./...
99
.PHONY: test
1010

11+
coverage:
12+
go test -coverprofile=coverage.out ./...
13+
go tool cover -html=coverage.out
14+
.PHONY: coverage
15+
1116
benchmark:
1217
go test -bench=./...
1318
.PHONY: benchmark

0 commit comments

Comments
 (0)