From 943432b022b521da4ebf1b7a5760b459b44f52f0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 22 Oct 2020 23:11:18 -0700 Subject: make: coverage report and HTML in one go --- python/.gitignore | 1 + python/Makefile | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'python') diff --git a/python/.gitignore b/python/.gitignore index d53fac8..9b0fdb2 100644 --- a/python/.gitignore +++ b/python/.gitignore @@ -1,3 +1,4 @@ *part-000* *.tar.gz *.tsv.gz +htmlcov/ diff --git a/python/Makefile b/python/Makefile index 43ec144..f783d0e 100644 --- a/python/Makefile +++ b/python/Makefile @@ -29,8 +29,4 @@ test: lint ## Run all tests and lints .PHONY: coverage coverage: ## Run all tests with coverage - pipenv run pytest --cov - -.PHONY: coverage-html -coverage-html: ## Run all tests with coverage, HTML report output - pipenv run pytest --cov --cov-report html + pipenv run pytest --cov --cov-report=term --cov-report=html -- cgit v1.2.3