Skip to content

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.

@review-notebook-app
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.

3 participants