Github Actions CI and modern config #44
Merged
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.
This PR creates a CI workflow on Github Actions for
python-edtf
. The workflow uses a matrix strategy to test Python versions from3.8
to3.12
.v5
ofpython-edtf
drops support for Python <3.8. This PR also drops thetravis.ci
config.This PR drops
nose
andtox
in favor forpytest
.nose
is beyond EOL and was failing with newer versions of Python;nose2
does not seem to have many benefits overpytest
as a testing framework. Whiletox
has some benefits for local testing of multiple versions, it is unnecessary in CI given the Github Actions matrix strategy. I migrated thetox
config topyproject.toml
if developers still want to usetox
locally, but have removed it from the test dependencies.This PR consolidates config in
pyproject.toml
rather than splitting acrosssetup.py
,setup.cfg
, andtox.ini
.