Skip to content

Commit

Permalink
[ci] refs #279 - Run make test-data against temp coverage profile and…
Browse files Browse the repository at this point in the history
… merge with coverage output
  • Loading branch information
olemis committed Jan 22, 2020
1 parent a03f7b0 commit 68af898
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ test-core: ## Run tests for API core and helpers
cat $(COVERAGETEMP) | grep -v '^mode: set$$' >> $(COVERAGEFILE)

test-data: ## Run tests for data package
go test -coverprofile=src/data/coverage.out -timeout 30s github.com/fibercrypto/fibercryptowallet/src/data
go test -coverprofile=$(COVERAGETEMP) -timeout 30s github.com/fibercrypto/fibercryptowallet/src/data
cat $(COVERAGETEMP) | grep -v '^mode: set$$' >> $(COVERAGEFILE)

test-html-cover:
go tool cover -html=$(COVERAGEFILE) -o $(COVERAGEPREFIX).html

Expand Down

0 comments on commit 68af898

Please sign in to comment.