Replace Travis CI with GitHub Actions#18
Merged
nicoddemus merged 3 commits intopytest-dev:masterfrom Sep 20, 2021
Merged
Conversation
nicoddemus
approved these changes
Sep 20, 2021
Member
Author
|
Here's an example build: Please could someone enable GHA for this repo at https://github.com/pytest-dev/nose2pytest/actions? |
Member
Hmm how? Just create a dummy Python workflow? Because I'm happy to just merge this and fix anything not working as it should afterward. |
Member
Author
|
If there's no big "Enable Actions button" at https://github.com/pytest-dev/nose2pytest/actions, then let's just merge and fix from there! Thanks! |
Member
|
Yeah I don't see anything like that. 😁 Merging, thanks a lot for tackling this. 👍 |
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.
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.7version 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