From ba0158f29b5a349a5514980f33c569da3904e3e4 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 97934dc3b06..6cb6f497322 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/