coverage: use source=. and report.include

This appears to improve performance - ~4s with `tox -e py37-coverage --
testing/test_collection.py`.
This commit is contained in:
Daniel Hahler 2019-02-26 23:30:48 +01:00
parent f1254c4461
commit b5cf61312b
1 changed files with 4 additions and 1 deletions

View File

@ -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/