aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-22 14:07:53 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-22 14:07:53 -0700
commitdc9f831c2cb190339765743173c8f12329b40ea9 (patch)
treeb756eb04b2af95ba0b42ad023195ed26f4e81b72
parent98d541a4bc391638aa95541263a6998dffa7392c (diff)
downloadchocula-dc9f831c2cb190339765743173c8f12329b40ea9.tar.gz
chocula-dc9f831c2cb190339765743173c8f12329b40ea9.zip
makefile: coverage target
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f076f2f..9d1fd03 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,10 @@ fmt: ## Run code formating on all source code
test: lint ## Run all tests and lints
pipenv run pytest
+.PHONY: coverage
+coverage: ## Run all tests with coverage
+ pipenv run pytest --cov
+
data/container_stats.json:
mkdir -p data
cat data/container_export.json | jq .issnl -r | sort -u > /tmp/container_issnl.tsv