mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
coverage: fix coverage to track packages better
This commit is contained in:
@@ -19,7 +19,7 @@ debug: doc
|
||||
.PHONY: test
|
||||
test:
|
||||
$(shell mkdir -p test/data; cd test/data; ../scripts/gen_certs.sh; cd ${TOP_LEVEL})
|
||||
go test -v -race -cover -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
go test -v -race -cover -coverpkg ./... -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
.PHONY: covhtml
|
||||
covhtml:
|
||||
|
||||
Reference in New Issue
Block a user