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

Step 4: Setup tox #72

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Step 4: Setup tox #72

wants to merge 8 commits into from

Conversation

annie444
Copy link
Collaborator

This PR adds tox to the pytest framework. tox enables you to run your tests against many different environments. I have initially configured tox to run the tests against python versions 3.10-3.14. In addition to running the tests, I've also added a line for tox to build the documentation after the tests complete.

You can run these tests with the tox command. No added arguments required.

NOTE: The tox configuration leverages features of uv for creating the testing environments. This means that this PR will only run if uv is installed on your system.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@annie444 annie444 mentioned this pull request Feb 20, 2025

[tool.tox]
env_list = ["clean", "3.10", "3.11", "3.12", "3.13", "3.14", "build_docs"]
requires = ["tox>=4.0", "tox-uv>=1.20"]
Copy link
Member

Choose a reason for hiding this comment

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

I think this is subject to change if we decide to go with uv or not or something else

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.

2 participants