Skip to content

Commit

Permalink
Merge pull request #193 from goanpeca/enh/ci
Browse files Browse the repository at this point in the history
PR: Add ci with Github actions
  • Loading branch information
MSeal committed Sep 27, 2020
2 parents 9b9f46f + 5d2f5c3 commit 24e6636
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 49 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/tests.yml
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
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

27 changes: 0 additions & 27 deletions appveyor.yml

This file was deleted.

0 comments on commit 24e6636

Please sign in to comment.