From b5cf61312b96ba304c7aa24420a36a8f908e9935 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 26 Feb 2019 23:30:48 +0100 Subject: [PATCH] coverage: use source=. and report.include This appears to improve performance - ~4s with `tox -e py37-coverage -- testing/test_collection.py`. --- .coveragerc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 97934dc3b..6cb6f4973 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,8 +1,11 @@ [run] -source = pytest,_pytest,testing/ +source = . parallel = 1 branch = 1 +[report] +include = src/*, testing/* + [paths] source = src/ .tox/*/lib/python*/site-packages/