Skip to content

Commit

Permalink
tests: coverage has per-env files
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Jan 26, 2023
1 parent 70a1551 commit 28bb9d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ base = testenv, test
description = Run unit tests with pytest
labels =
py38, py310, py311: tests, unit-tests
set_env =
TMPDIR={env_tmp_dir}
COVERAGE_FILE=.coverage_{env_name}
commands = pytest {tty:--color=yes} --cov --cov-report=xml:results/coverage-{env_name}.xml --junit-xml=results/test-results-{env_name}.xml tests/unit {posargs}

[testenv:integration-{py38,py39,py310,py311,py312}]
Expand Down

0 comments on commit 28bb9d8

Please sign in to comment.