aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/.coveragerc4
-rw-r--r--python/Makefile2
2 files changed, 4 insertions, 2 deletions
diff --git a/python/.coveragerc b/python/.coveragerc
index 6235f57..67053a7 100644
--- a/python/.coveragerc
+++ b/python/.coveragerc
@@ -1,3 +1,5 @@
[run]
omit = tests/*
-source = .
+source =
+ sandcrawler
+ grobid2json
diff --git a/python/Makefile b/python/Makefile
index 52cdfc8..be876f7 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -29,5 +29,5 @@ test: lint ## Run all tests and lints
.PHONY: coverage
coverage: ## Run all tests with coverage
- pipenv run pytest
+ pipenv run pytest --cov