Skip to content

Commit e352e2d

Browse files
committed
CI: replace Travis with GitHub Actions.
1 parent c754caf commit e352e2d

File tree

2 files changed

+26
-13
lines changed

2 files changed

+26
-13
lines changed

.github/workflows/main.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push: {}
3+
pull_request:
4+
types: [opened, reopened, synchronize]
5+
name: CI
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ['3.6', '3.7', '3.8', pypy3]
12+
steps:
13+
- name: Check out source code
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
- name: Set up Python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
pip install -e .
24+
- name: Run tests
25+
run: |
26+
python -m unittest discover

.travis.yml

-13
This file was deleted.

0 commit comments

Comments
 (0)