Skip to content

Commit fdc1116

Browse files
committed
Prevent coverage files from colliding in parallel
1 parent 44826df commit fdc1116

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ deps =
3939
packaging ~= 21.3
4040
pytest-cov ~= 4.1.0
4141
pytest-randomly ~= 3.4
42-
42+
setenv =
43+
COVERAGE_FILE = .coverage.{envname}
4344
commands = pytest -p no:mypy {posargs:--cov pytest_mypy --cov-branch --cov-fail-under 100 --cov-report term-missing -n auto}
4445

4546
[pytest]

0 commit comments

Comments
 (0)