Open
Conversation
Author
|
Updated to add 3.12, but this fails due to #22: https://github.com/hugovk/calmap/actions/runs/7369885527/job/20055674868 So also updated to replace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
For #18.
Fixes #22.
This PR adds workflows to run the tests and build the docs with GitHub Actions.
Tests
It's only testing the upstream supported versions of Python: 3.8-3.11: https://devguide.python.org/versions/
I didn't add uploading of coverage to Coveralls. I usually use Codecov myself, so have left Coveralls out for later addition.
Docs
The docs are built and uploaded as an "artifact" to GitHub Actions. This means you can download a zip of the built docs from the build summary tab.
(I usually use Read the Docs, and enable the PR build previews, so you get a hosted page for each PR.)
Deploy
This PR does CI, not CD. I didn't attempt to add deploying to PyPI or upload of docs, but I recommend doing this later. PyPI's "Trusted Publishers" is an excellent choice along with the 'pypi-publish' GitHub Action:
I also didn't delete the old
.travis.ymlyet in case you need it for the deploy reference.Demo