-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #193 from goanpeca/enh/ci
PR: Add ci with Github actions
- Loading branch information
Showing
3 changed files
with
39 additions
and
49 deletions.
There are no files selected for viewing
This file contains 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,39 @@ | ||
name: Run tests | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
tests: | ||
name: ${{ matrix.OS }} - Py${{ matrix.PYTHON_VERSION }} | ||
runs-on: ${{ matrix.OS }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
OS: ['ubuntu-latest', 'windows-latest'] | ||
PYTHON_VERSION: ['3.5', '3.6', '3.7','3.8'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.PYTHON_VERSION }} | ||
- name: Install test dependencies | ||
run: | | ||
pip install --upgrade pip setuptools | ||
pip install nbformat[test] | ||
pip install codecov | ||
- name: Install nbformat | ||
run: | | ||
pip install . | ||
pip freeze | ||
- name: List dependencies | ||
run: | | ||
pip list | ||
- name: Run tests | ||
run: | | ||
py.test nbformat/tests -v --cov=nbformat | ||
- name: Coverage | ||
run: | | ||
codecov |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.