Migrate from Travis CI to GitHub Actions #374
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.
In this PR, the CI flow that was on Travis CI is migrated to GitHub Actions. Some minor changes to the build chain and/or to the codebase were also applied, which are further detailed platform by platform hereafter.
apt-get update
was added in the test script.thesnapcraft.yaml
recipe was completely rewritten to usecore18
as base snap, Python 3.6, and PySide2. After this change, we will not have a released platform based on Qt 4 anymore.this could also allow us to increase the minimum Python version for Syncplay to 3.6. On paper, we still support>=3.4
, hence I reverted in this PR the f-string accidentally introduced in Console improvements #327. However,python_mpv_jsonipc
already requires 3.6.A few general comments about the two CI platforms:
.travis.yml
file was deleted. The helper foldertravis
is now namedci
. The build status badge in README now points to GitHub Actions.