Skip to content

Commit

Permalink
fix: Correct test coverage script (#1347)
Browse files Browse the repository at this point in the history
* Correct test coverage script
  • Loading branch information
arijitAD authored Aug 19, 2021
1 parent 932d8aa commit 7965cb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions make/test-integration.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
COVER_PACKAGES = $(shell go list ./... | grep -v mock)
COVER_PACKAGES = $(shell go list ./... | grep -v mock | paste -sd,)
# This is statically specified in the vagrant configuration
KUBE_NODE_IP ?= 172.18.8.101
###############################################################################
Expand Down Expand Up @@ -48,7 +48,8 @@ test-full:
test-coverage:
$(GO) test -tags=$(BUILD_MAINNET) -coverprofile=coverage.txt \
-covermode=count \
-coverpkg=$(COVER_PACKAGES)
-coverpkg=$(COVER_PACKAGES) \
./...

test-vet:
$(GO) vet ./...

0 comments on commit 7965cb6

Please sign in to comment.