Fix tests, test Python 3.10, and run on tests on GitHub Actions #298
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.
Several commits, happy to split if appropriate.
Fix:
Fix this error:
Added in 8e1c574
Missed in 8e1c574.
Travis no longer posts results over to GitHub. I think this is how the previous failures went unseen. This commit removes the Travis config and adds a GitHub Actions one based on a recipe I use in my projects. This includes a method of combining Coverage results on GitHub Actions as per this blog post, removing the need for coveralls.
I removed Python 3.6, which is EOL, and added tests for Python 3.8 through 3.10. I didn’t remove 2.7 but would be happy to do so - it’s 2 years past its EOL.
I dropped the PyPy test run because the module is pure Python. I don’t think it’s worth the effort trying to test every library in existence with PyPy.