Skip to content

Add Ubuntu pytest matrix and dedicated coverage CI job with pytest-cov#41

Closed
Copilot wants to merge 4 commits into
mainfrom
copilot/implement-ci-coverage-improvements
Closed

Add Ubuntu pytest matrix and dedicated coverage CI job with pytest-cov#41
Copilot wants to merge 4 commits into
mainfrom
copilot/implement-ci-coverage-improvements

Conversation

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

CI runs pytest without any coverage tooling — no coverage data is collected. This updates the workflow to add a separate Ubuntu-only pytest matrix for supported Python versions and a dedicated coverage job on Linux x86_64 that produces terminal and XML output, while keeping the existing build/compatibility matrix in place.

Changes

pyproject.toml

  • Adds pytest-cov>=5,<7 to the [project.optional-dependencies].test group

.github/workflows/CI.yml

  • Adds a new Ubuntu-only pytest job with a Python matrix covering 3.10, 3.11, 3.12, 3.13, and 3.14
  • Adds a coverage job (Ubuntu x86_64, Python 3.12) that:
    • Builds and installs the compiled extension + test extras in one step via maturin develop --release --extras test
    • Runs pytest --cov=e57 --cov-report=term-missing --cov-report=xml
    • Uploads coverage.xml as a workflow artifact
  • Keeps the existing linux / musllinux / windows / macos matrix jobs intact for build/compatibility coverage
  • Updates GitHub Actions in the workflow to current released versions
  • Does not introduce any third-party coverage service (e.g. Codecov)

Copilot AI changed the title [WIP] Add CI coverage collection improvements to workflow Add dedicated coverage CI job with pytest-cov Jun 10, 2026
Copilot AI requested a review from dancergraham June 10, 2026 12:52
@dancergraham

Copy link
Copy Markdown
Owner

@copilot update the coverage step first add a pytest matrix of all currently supported python versions - 3.10 to 3.14 on ubunto only, update the coverage step to use py 3.12, update the github actions to the latest versions

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot update the coverage step first add a pytest matrix of all currently supported python versions - 3.10 to 3.14 on ubunto only, update the coverage step to use py 3.12, update the github...

Addressed in 3b0df4d.

  • added a separate Ubuntu-only pytest matrix for Python 3.10 through 3.14
  • kept the coverage job on Python 3.12
  • updated the workflow action versions across the file

Copilot AI changed the title Add dedicated coverage CI job with pytest-cov Add Ubuntu pytest matrix and dedicated coverage CI job with pytest-cov Jun 10, 2026
@dancergraham dancergraham deleted the copilot/implement-ci-coverage-improvements branch June 11, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants