Replace Travis CI with GitHub Actions #18
Merged
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.
Travis CI is being turned off for the pytest-dev org (internal discussion), due to the recent security handling (1, 2).
This PR replaces Travis CI with GitHub Actions. It mostly replicates the old Travis workflow, the main differences is it runs using tox and adds caching.
And just like the last Travis build, it also fails for Python 3.8. I didn't look into it but it's a known issue so we have parity.
I also noticed that Python 3.7.1 (the last Travis CI build) and 3.7.7 (what I have on my machine) passed, but the latest
3.7
version on GHA (3.7.12) failed. So I've pinned to 3.7.7 in the CI. #15 (comment) also noted 3.7 failed, so this will need checking in the future (as part of #15).Also, drop support for Python 3.4, it's not available on GHA, and anyway is EOL. We should also drop EOL 3.5 too. Shall I also remove it here?
Also, update Trove classifiers.
Finally, drop the dot in py.test :) https://twitter.com/pytestdotorg/status/753767547866972160