Skip to content

Commit

Permalink
CI: replace Travis with GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Jul 22, 2020
1 parent c754caf commit e352e2d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push: {}
pull_request:
types: [opened, reopened, synchronize]
name: CI
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', pypy3]
steps:
- name: Check out source code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e .
- name: Run tests
run: |
python -m unittest discover
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit e352e2d

Please sign in to comment.