Test Windows, macOS and Linux on GitHub Actions #1085
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.
This runs tests on Windows, macOS and Ubuntu using GitHub Actions.
Tests are run on Python 3.6 and 3.7. Python 3.8 is not yet available but has been requested:
Travis CI already tests on Ubuntu, so Ubuntu could be omitted from here, but you get up to 20 parallel jobs from GH Actions, so two extra jobs won't be a problem.
(Compare: 10 with Azure Pipelines, 5 with Travis CI, 1 with AppVeyor.)
Example build:
Perhaps this might replace the Azure Pipelines PR #731? GHA is built on top of AP, I find the GHA syntax a bit nicer. For example, the OS/Python matrix in GHA, whereas you need to repeat for each one in AP.
Linting not added, but can be if you'd like.
This tests against the latest available OS versions, currently
windows-2019
,macOS-10.14
andubuntu-18.04
. Also available and can be added if you'd like:windows-2016
andubuntu-16.04
.