Skip to content

Commit

Permalink
Migrate CI to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed May 14, 2021
1 parent 7b58bcb commit 1f84d1a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 41 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: [pull_request]

jobs:
build:
name: Test on ${{ matrix.os }} / Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
python-version: [ '3.6', '3.7', '3.8', '3.9', 'pypy-3.6', 'pypy-3.7' ]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Build package
run: python setup.py install
- name: Run tests
run: python tests.py
- name: Run mypy tests
run: python mypy_run.py
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

0 comments on commit 1f84d1a

Please sign in to comment.