aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-22 18:35:39 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-22 18:35:39 -0700
commitb5cb2787f7c5d628bd1976dcd6d57b537f2e646c (patch)
tree6329a336a8e89a57e953c728fb36d01b27cb828a /Makefile
parent7fc41ef2440a935d9b5f6601f490e1ece343fb1c (diff)
downloadfatcat-scholar-b5cb2787f7c5d628bd1976dcd6d57b537f2e646c.tar.gz
fatcat-scholar-b5cb2787f7c5d628bd1976dcd6d57b537f2e646c.zip
make: have coverage generate both terminal and HTML reports
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 18e36d1..b3617c6 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ test: lint ## Run all tests and lints
.PHONY: coverage
coverage: lint ## Run all tests with coverage
- PIPENV_DONT_LOAD_ENV=1 ENV_FOR_DYNACONF=test pipenv run pytest --cov
+ PIPENV_DONT_LOAD_ENV=1 ENV_FOR_DYNACONF=test pipenv run pytest --cov --cov-report=term --cov-report=html
.PHONY: dev
dev: ## Run web service locally, with reloading