Skip to content

Commit

Permalink
Show coverage report in HTML format (#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjngx authored Mar 1, 2022
1 parent 51ac617 commit 9c4a516
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ test: ## Run tests
cover: ## Generate coverage report
@./hack/test-cover.sh

cover-html: ## Generate and show coverage report in HTML format
go test -shuffle=on -race ./... -count=1 -cover -covermode=atomic -coverprofile=coverage.out
go tool cover -html coverage.out

.PHONY: verify-codegen
verify-codegen: ## Verify code generation
./hack/verify-codegen.sh
Expand Down

0 comments on commit 9c4a516

Please sign in to comment.