ixc / python-edtf

MIT License
52 stars 19 forks source link

Github Actions CI and modern config #44

Closed ColeDCrawford closed 5 months ago

ColeDCrawford commented 6 months ago

This PR creates a CI workflow on Github Actions for python-edtf. The workflow uses a matrix strategy to test Python versions from 3.8 to 3.12. v5 of python-edtf drops support for Python <3.8. This PR also drops the travis.ci config.

This PR drops nose and tox in favor for pytest. nose is beyond EOL and was failing with newer versions of Python; nose2 does not seem to have many benefits over pytest as a testing framework. While tox has some benefits for local testing of multiple versions, it is unnecessary in CI given the Github Actions matrix strategy. I migrated the tox config to pyproject.toml if developers still want to use tox locally, but have removed it from the test dependencies.

This PR consolidates config in pyproject.toml rather than splitting across setup.py, setup.cfg, and tox.ini.

aweakley commented 5 months ago

This looks great. Thank you.