enable coverage for server tests
This commit is contained in:
parent
b3b2250076
commit
f9ce32a7d9
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -104,7 +104,7 @@ endif
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
ifneq ($(HAS_SERVER),)
|
ifneq ($(HAS_SERVER),)
|
||||||
cd server && $(GO) test ./...
|
cd server && $(GO) test -v -coverprofile=coverage.txt ./...
|
||||||
endif
|
endif
|
||||||
ifneq ($(HAS_WEBAPP),)
|
ifneq ($(HAS_WEBAPP),)
|
||||||
cd webapp && npm run fix;
|
cd webapp && npm run fix;
|
||||||
|
|
1
server/.gitignore
vendored
Normal file
1
server/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
coverage.txt
|
Reference in a new issue