test: Add coverage output

This commit is contained in:
Chris Crone
2020-08-12 18:52:18 +02:00
parent e2bb97af8b
commit c6a65bcc9b
3 changed files with 13 additions and 2 deletions

View File

@@ -13,6 +13,12 @@ bin/example:
unit-test:
@docker build . --target unit-test
.PHONY: unit-test-coverage
unit-test-coverage:
@docker build . --target unit-test-coverage \
--output coverage/
cat coverage/cover.out
.PHONY: lint
lint:
@docker build . --target lint