Use tox
to run pytest-copie
unit tests locally on multiple python versions
#366
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Description
This proof of concept PR shows that we can use tox with a simple configuration file to execute the
pytest-copie
-based unit tests locally on a group a set of different python versions.There is some amount of dev environment setup required:
tox
brew install python@3.xx
for any version of python that is not installed on your system 3.8 - 3.12.Note that when running
tox
with the tox.ini file as defined, if you are missing a version of python that tox has been instructed to use, it will simply skip that version and log a warning.Checklist
lincc-frameworks/python-project-template
repo and not a downstream one instead.