Skip to content

Commit dfad0ec

Browse files
committed
Add GitHub Actions
1 parent e6517b5 commit dfad0ec

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
name: "Python ${{ matrix.python-version }}"
8+
runs-on: ubuntu-20.04
9+
strategy:
10+
matrix:
11+
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9"]
12+
steps:
13+
- name: Set up Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
- name: Install dependencies
20+
run: |
21+
pip install --upgrade setuptools
22+
pip install pylint
23+
pip install .
24+
- name: Test
25+
run: ./run-tests.sh

0 commit comments

Comments
 (0)