Skip to content

Commit 142c4a5

Browse files
committed
add github actions CI
1 parent cdc54a4 commit 142c4a5

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Run Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
testing:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9]
11+
fail-fast: false
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
20+
21+
- name: Install dependencies
22+
run: |
23+
./travis/before-script.sh
24+
python -m pip install --upgrade pip
25+
pip install nose
26+
27+
- name: Run tests
28+
run: nosetests -w tests

0 commit comments

Comments
 (0)