Skip to content

Commit 5d2a1f2

Browse files
committed
Migrate from Travis CI to Github Actions
1 parent 5dd5d59 commit 5d2a1f2

File tree

2 files changed

+39
-19
lines changed

2 files changed

+39
-19
lines changed

.github/workflows/tests.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# This software may be modified and distributed under the terms
3+
# of the MIT license. See the LICENSE file for details.
4+
5+
name: CI Tests
6+
7+
on:
8+
push:
9+
branches:
10+
- master
11+
pull_request:
12+
branches:
13+
- master
14+
15+
jobs:
16+
test:
17+
name: Python ${{ matrix.python }}
18+
runs-on: ubuntu-20.04
19+
strategy:
20+
matrix:
21+
python: ['3.6', '3.7', '3.8', '3.9']
22+
fail-fast: false
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
27+
- name: Setup Python
28+
uses: actions/setup-python@v2
29+
with:
30+
python-version: ${{ matrix.python }}
31+
32+
- name: Update Pip
33+
run: pip install --upgrade pip setuptools
34+
35+
- name: Install Tox
36+
run: pip install tox
37+
38+
- name: Run tests
39+
run: tox -e py

.travis.yml

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

0 commit comments

Comments
 (0)