Skip to content

Commit b8d71a1

Browse files
committed
Enable GitHub Actions
1 parent bcef73f commit b8d71a1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
strategy:
10+
max-parallel: 8
11+
matrix:
12+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install
21+
run: |
22+
sudo apt-get install jq
23+
pip install coverage wheel
24+
make install
25+
- name: Test
26+
run: |
27+
make test
28+
- name: Upload coverage data
29+
run: |
30+
bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)