diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-22 18:35:39 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-22 18:35:39 -0700 |
commit | b5cb2787f7c5d628bd1976dcd6d57b537f2e646c (patch) | |
tree | 6329a336a8e89a57e953c728fb36d01b27cb828a | |
parent | 7fc41ef2440a935d9b5f6601f490e1ece343fb1c (diff) | |
download | fatcat-scholar-b5cb2787f7c5d628bd1976dcd6d57b537f2e646c.tar.gz fatcat-scholar-b5cb2787f7c5d628bd1976dcd6d57b537f2e646c.zip |
make: have coverage generate both terminal and HTML reports
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ data/ fulltext_web/ +htmlcov/ *.o *.a @@ -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 |