Enable code coverage reports
This will make the test print code coverage report once done in each directory
This commit is contained in:
1 parent
a6f1435444
commit
ed2d0d56a5
1 file changed
+2
-2
@@ -55,8 +55,8 @@ $(WEAVETOOLS_EXPORT): tools/Dockerfile $(WEAVETOOLS_EXES)
|
||||
|
||||
# Add more directories in here as more tests are created
|
||||
tests:
|
||||
cd router; go test -tags netgo
|
||||
cd nameserver; go test -tags netgo
|
||||
cd router; go test -cover -tags netgo
|
||||
cd nameserver; go test -cover -tags netgo
|
||||
|
||||
$(PUBLISH): publish_%:
|
||||
$(SUDO) docker tag -f $(DOCKERHUB_USER)/$* $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION)
|
||||
|
||||
Reference in new issue
Block a user