Skip to content

Commit

Permalink
Merge pull request #7726 from ipfs/fix/ci-error-coverage
Browse files Browse the repository at this point in the history
fix error when computing coverage
  • Loading branch information
aschmahmann committed Oct 13, 2020
2 parents 931ad5b + 3df743a commit e1e577f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions coverage/Rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ endif
.PHONY: $(d)/coverage_deps

# unit tests coverage
UTESTS_$(d) := $(shell $(GOCC) list -f '{{if (len .TestGoFiles)}}{{.ImportPath}}{{end}}' $(go-flags-with-tags) ./...)
UTESTS_$(d) += $(shell $(GOCC) list -f '{{if (len .XTestGoFiles)}}{{.ImportPath}}{{end}}' $(go-flags-with-tags) ./... | grep -v go-ipfs/vendor | grep -v go-ipfs/Godeps)
UTESTS_$(d) := $(shell $(GOCC) list -f '{{if (or (len .TestGoFiles) (len .XTestGoFiles))}}{{.ImportPath}}{{end}}' $(go-flags-with-tags) ./... | grep -v go-ipfs/vendor | grep -v go-ipfs/Godeps)

UCOVER_$(d) := $(addsuffix .coverprofile,$(addprefix $(d)/unitcover/, $(subst /,_,$(UTESTS_$(d)))))

Expand Down

0 comments on commit e1e577f

Please sign in to comment.