lkiesow / python-feedgen

Python module to generate ATOM feeds, RSS feeds and Podcasts.
https://feedgen.kiesow.be/
BSD 2-Clause "Simplified" License
728 stars 122 forks source link

Replace Travis CI with GitHub Actions #116

Closed hugovk closed 1 year ago

hugovk commented 2 years ago

First of all, thanks for Feedgenerator! We're using it to provide the feed for the PEPs website at https://peps.python.org!


Replaces and closes https://github.com/lkiesow/python-feedgen/pull/103. Replaces and closes https://github.com/lkiesow/python-feedgen/pull/113.

Travis CI has stopped working for this repo, and their new plan makes it harder to test open-source projects.

Let's use GitHub Actions instead. Benefits include:

Coverage is uploaded to Codecov instead of Coveralls, as it's easier to integrate with GHA.

This PR also bumps the versions in requirements.txt, needed to support Python 3.10.

I've only tested on Python 3.7+, the versions supported by the core Python team (https://endoflife.date/python). Although some older Python versions are available on the CI, I've made another PR (https://github.com/lkiesow/python-feedgen/pull/117) to drop support for those old ones too, and modernise the syntax used here.

This PR also fixes some new Flake8 errors.

Demo:

hugovk commented 1 year ago

Closing this year-old PR due to lack of interest and the last commit was 3.5 years ago (see also https://github.com/lkiesow/python-feedgen/issues/106). Happy to re-open if you like, but I'm no longer using python-feedgen (generating a feed manually instead).