fix(Makefile): step to generate html coverage site
This commit is contained in:
parent
3581424bd2
commit
546139492b
3
.gitignore
vendored
3
.gitignore
vendored
@ -11,3 +11,6 @@ flucky.tar.xz
|
||||
|
||||
# directories
|
||||
.vscode/
|
||||
|
||||
# coverage files
|
||||
coverage*
|
5
Makefile
5
Makefile
@ -184,7 +184,10 @@ test/goldenfiles/bindata.go:
|
||||
# ==============================================================================
|
||||
PHONY+=test/unit
|
||||
test/unit: clean bindata
|
||||
go test -v ./...
|
||||
go test -coverprofile coverage.html -v ./...
|
||||
|
||||
test/cover-html: test/unit
|
||||
go tool cover -html coverage.html
|
||||
|
||||
# PACKAGES
|
||||
# ==============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user