Skip to content

Commit f9608a7

Browse files
committed
Fixes #171 - Run tests with GitHub Actions
1 parent 73ac282 commit f9608a7

File tree

2 files changed

+23
-55
lines changed

2 files changed

+23
-55
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.6, 3.7, 3.8, 3.9]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install tox
19+
run: |
20+
python -m pip install --upgrade pip
21+
python -m pip install --upgrade tox tox-py
22+
- name: Run tests
23+
run: tox --py current

.travis.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)