Skip to content

Commit

Permalink
coverage: use source=. and report.include
Browse files Browse the repository at this point in the history
This appears to improve performance - ~4s with `tox -e py37-coverage --
testing/test_collection.py`.
  • Loading branch information
blueyed committed Feb 26, 2019
1 parent 9dcd6f2 commit ba0158f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit ba0158f

Please sign in to comment.