mirror of https://gitlab.com/gitlab-org/cli.git
add pkg to test coverage
This commit is contained in:
parent
5c709f9705
commit
d0bd867c6c
2
Makefile
2
Makefile
|
@ -43,7 +43,7 @@ test: clean
|
|||
|
||||
.PHONY: internal-test
|
||||
internal-test:
|
||||
GO111MODULE=on go test -coverprofile=coverage-main.out -covermode=count -coverpkg ./... -run=$(run) $(GOURL)/cmd/glab $(GOURL)/commands/... $(GOURL)/internal/...
|
||||
GO111MODULE=on go test -coverprofile=coverage-main.out -covermode=count -coverpkg ./... -run=$(run) $(GOURL)/cmd/glab $(GOURL)/commands/... $(GOURL)/internal/... $(GOURL)/pkg/...
|
||||
go get -u github.com/wadey/gocovmerge
|
||||
gocovmerge coverage-*.out > coverage.txt && rm coverage-*.out
|
||||
|
||||
|
|
Loading…
Reference in New Issue