Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tox for cross-platform, parallel test suite execution #2378

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

kurtmckee
Copy link
Contributor

@kurtmckee kurtmckee commented Mar 4, 2025

This change introduces tox and tox-uv for testing.

These changes allow for cross-platform testing by running tox, parallel execution across all supported Python versions by running tox run-parallel (or simply tox p), and cross-interpreter coverage reporting and HTML report output.

Closes #2351

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.16%. Comparing base (77827d2) to head (567a729).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2378   +/-   ##
=======================================
  Coverage   99.16%   99.16%           
=======================================
  Files          40       40           
  Lines        3101     3101           
  Branches      680      680           
=======================================
  Hits         3075     3075           
  Misses         15       15           
  Partials       11       11           
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@staticdev
Copy link
Collaborator

Nice @kurtmckee, tox-uv is new to me. Let's give it a try.. having tox will make things more organized anyway.

This change introduces tox and tox-uv for testing.

These changes allow for cross-platform testing by running `tox`,
parallel execution across all supported Python versions
by running `tox run-parallel` (or simply `tox p`),
and cross-interpreter coverage reporting and HTML report output.
Copy link
Collaborator

@staticdev staticdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @kurtmckee, LGTM.

@staticdev staticdev added this pull request to the merge queue Mar 18, 2025
Merged via the queue into PyCQA:main with commit 2985bca Mar 18, 2025
21 checks passed
@kurtmckee kurtmckee deleted the tox branch March 18, 2025 20:56
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.

Infrastructure Proposal: use tox or nox for test executions
2 participants