migrate to gh actions, add tests and publish wheel #44
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.
Fixes #43. Tested on my own fork with test-PyPI repository.
You can see the successful GH actions here:
Wheel can be successfully installed (using py 3.10 locally)
Changes
Drop support for python 3.5 and below. The plugin code already uses f-strings, so the code won't run properly on lower versions anyway.
mkdocs-markdownextradata-plugin/markdownextradata/plugin.py
Lines 56 to 58 in 24492bc
I made the executive decision to move from Travis CI to GH actions, no particular reason other than I've no experience with Travis.
I bumped the version number in
setup.py
to0.25.0
since it seems you already made a release on GH with that tag but pypi is still 0.24.0.IMPT: You'll need to set up your PYPI_USER and PYPI_PASSWORD repository secrets so the CI can pick up on those variables before twine upload.