Skip to content

Commit

Permalink
Prevent coverage files from colliding in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtucker committed Aug 27, 2024
1 parent 44826df commit fdc1116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ deps =
packaging ~= 21.3
pytest-cov ~= 4.1.0
pytest-randomly ~= 3.4

setenv =
COVERAGE_FILE = .coverage.{envname}
commands = pytest -p no:mypy {posargs:--cov pytest_mypy --cov-branch --cov-fail-under 100 --cov-report term-missing -n auto}

[pytest]
Expand Down

0 comments on commit fdc1116

Please sign in to comment.