test against all supported python versions via github actions #775
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.
This PR adds github actions, to test on each pull and pull request against all supported python versions. For each version we run the respective
tox -e XX
and theflake8
.I took the liberty to remove all Python2.x versions, except the last one 2.7, and I removed all python3.x versions until 3.5 and added the most recent ones. So the currently supported versions are:
2.7, 3.5..3.9, pypy
I also removed the unneeded pypy-testenv in tox.ini which was identical with the default testenv for all other python versions.
I had to add a few flake8-exceptions due to the dual Python2/3 support. I suggest at some point to remove Python2 support completely.
All tests and flake8 runs currently pass on gitlab-ci with the supported python versions from above.