Fix makefile and coverage output
This commit is contained in:
parent
223c50228e
commit
1cafd4f2ce
2 changed files with 7 additions and 6 deletions
9
Makefile
9
Makefile
|
@ -12,9 +12,8 @@ gen:
|
|||
protoc --proto_path pkg/accounts --go_out=plugins=grpc:pkg/accounts/ --go_opt=paths=source_relative pkg/accounts/accounts.proto
|
||||
|
||||
test:
|
||||
docker-compose up --build --exit-code-from=rove-tests --abort-on-container-exit
|
||||
docker-compose up --build --exit-code-from=rove-tests --abort-on-container-exit rove-tests
|
||||
go tool cover -html=/tmp/coverage-data/c.out -o /tmp/coverage.html
|
||||
@echo Done, coverage data can be found in /tmp/coverage.html
|
||||
|
||||
# TODO: Collect and convert the coverage data to html
|
||||
# go tool cover -html=/tmp/c.out -o /tmp/coverage.html
|
||||
|
||||
.PHONY: install test
|
||||
.PHONY: build install test gen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue