-
Notifications
You must be signed in to change notification settings - Fork 20
Replace travis with GitHub for running CI jobs #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
174c046
TST: use Github Action for executing CI jobs
hagenw 70b8657
TST: remove travis CI jobs
hagenw 824a892
TST: remove support for Python 3.5
hagenw 77d1a61
Split tests
hagenw fab121d
Remove Python 3.5 in setup.py
hagenw e8ca561
Trigger test on every push and pull request
hagenw 1dd9faf
Testing Windows
hagenw 2e25a01
Remove apt-get update
hagenw be7b71a
Add --no-install-recommends to apt-get install
hagenw 0cc8e2c
Revert "Remove apt-get update"
hagenw 803513e
Try to execute Python under Windows
hagenw 88bbb7b
Debug installation under Windows
hagenw 88845fc
Debug only under 3.6
hagenw 3ed848c
Re-enable all tests
hagenw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest, windows-latest] | ||
python-version: [3.6, 3.7, 3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Prepare Ubuntu | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends -y pandoc ffmpeg | ||
if: matrix.os == 'ubuntu-latest' | ||
- name: Prepare OSX | ||
run: brew install pandoc ffmpeg | ||
if: matrix.os == 'macOS-latest' | ||
- name: prepare Windows | ||
run: choco install pandoc ffmpeg | ||
if: matrix.os == 'windows-latest' | ||
- name: Install dependencies | ||
run: | | ||
python -V | ||
python -m pip install --upgrade pip | ||
python -m pip install . | ||
python -m pip install -r tests/requirements.txt | ||
python -m pip install -r doc/requirements.txt | ||
# This is needed in example scripts: | ||
python -m pip install pillow | ||
- name: Test | ||
run: python -m pytest | ||
- name: Test examples | ||
run: python doc/examples/run_all.py | ||
- name: Test documentation | ||
run: python -m sphinx doc/ _build/ -b doctest |
This file was deleted.
Oops, something went wrong.
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
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.
Uh oh!
There was an error while loading. Please reload this page.