Force coverage to check all packages

This commit is contained in:
Ian Howell
2019-05-28 15:38:22 -05:00
parent fc9f7cbfc3
commit d68cfdfe6b

View File

@@ -35,7 +35,7 @@ test: cover
.PHONY: unit-tests
unit-tests: build
@echo "Performing unit test step..."
@go test -run $(TESTS) $(PKG) $(TESTFLAGS) -coverprofile=$(COVER_FILE)
@go test -run $(TESTS) $(PKG) $(TESTFLAGS) -coverprofile=$(COVER_FILE) -coverpkg $(PKG)
@echo "All unit tests passed"
.PHONY: cover