Skip to content

Commit 2cd4067

Browse files
committed
.github: start using workflows
1 parent c4d027a commit 2cd4067

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
name: Test with python ${{ matrix.python-version }}
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ['3.5', '3.6', '3.7', '3.8']
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Bootstrap test environment
20+
run: |
21+
sudo apt update
22+
sudo apt install debootstrap python3-venv make
23+
python -m pip install --upgrade pip
24+
make dev
25+
- name: Lint
26+
run: |
27+
make cs
28+
- name: Test
29+
run: |
30+
make quick-test

0 commit comments

Comments
 (0)