Skip to content

chore(ci): run coverage only in the dedicated coverage env#92

Merged
laurent-laporte-pro merged 2 commits intodevelopfrom
feature/update-tox-matrix-coverage
Oct 29, 2025
Merged

chore(ci): run coverage only in the dedicated coverage env#92
laurent-laporte-pro merged 2 commits intodevelopfrom
feature/update-tox-matrix-coverage

Conversation

@laurent-laporte-pro
Copy link
Copy Markdown
Owner

Limit test coverage collection to the coverage tox environment to avoid collecting coverage across all test envs. This keeps per-environment test runs fast and prevents cross-env coverage noise.

Changes

Run coverage only in testenv:coverage (no coverage plugin in regular testenvs).

How to test

Run full tests: tox -e py39-wrapt1.15, for instance
Run coverage: tox -e coverage

Limit test coverage collection to the coverage tox environment to avoid collecting coverage across all test envs. This keeps per-environment test runs fast and prevents cross-env coverage noise.

## Changes

Run coverage only in `testenv:coverage` (no coverage plugin in regular testenvs).

## How to test

Run full tests: `tox -e py39-wrapt1.15`, for instance
Run coverage: `tox -e coverage`
@laurent-laporte-pro laurent-laporte-pro merged commit 78e757d into develop Oct 29, 2025
22 checks passed
@laurent-laporte-pro laurent-laporte-pro deleted the feature/update-tox-matrix-coverage branch October 29, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant