Skip to content

Commit

Permalink
generate coverage report from skywallet ref fibercrypto#139
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevAlDen committed Feb 12, 2020
1 parent 3144a54 commit faba87c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ $(COVERAGEFILE):
echo 'mode: set' > $(COVERAGEFILE)

test-skyhw: build ## Run Hardware wallet tests
go test github.com/fibercrypto/fibercryptowallet/src/contrib/skywallet
go test -coverprofile=$(COVERAGETEMP) -timeout 30s github.com/fibercrypto/fibercryptowallet/src/contrib/skywallet
cat $(COVERAGETEMP) | grep -v '^mode: set$$' >> $(COVERAGEFILE)

test-sky: ## Run Skycoin plugin test suite
go test -coverprofile=$(COVERAGETEMP) -timeout 30s github.com/fibercrypto/fibercryptowallet/src/coin/skycoin
Expand All @@ -289,6 +290,8 @@ test-cover-travis: clean-test
$(GOPATH)/bin/goveralls -coverprofile=$(COVERAGEFILE) -service=travis-ci -repotoken 1zkcSxi8TkcxpL2zTQOK9G5FFoVgWjceP
go test -cover -covermode=count -coverprofile=$(COVERAGEFILE) -timeout 30s github.com/fibercrypto/fibercryptowallet/src/coin/skycoin
$(GOPATH)/bin/goveralls -coverprofile=$(COVERAGEFILE) -service=travis-ci -repotoken 1zkcSxi8TkcxpL2zTQOK9G5FFoVgWjceP
go test -cover -covermode=count -coverprofile=$(COVERAGEFILE) -timeout 30s github.com/fibercrypto/fibercryptowallet/src/contrib/skywallet
$(GOPATH)/bin/goveralls -coverprofile=$(COVERAGEFILE) -service=travis-ci -repotoken 1zkcSxi8TkcxpL2zTQOK9G5FFoVgWjceP

test-cover: test test-html-cover ## Show more details of test coverage

Expand Down

0 comments on commit faba87c

Please sign in to comment.