Skip to content

Commit 36962cb

Browse files
committed
add GitHub Actions CI workflow
1 parent 0767ad6 commit 36962cb

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/main.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-20.04
14+
strategy:
15+
matrix:
16+
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
pip install -r requirements/dev-requirements.txt
26+
pip install .
27+
- name: Make fixtures
28+
run: |
29+
make -C ./tests/fixtures
30+
- name: Run tests
31+
run: |
32+
pytest -v

0 commit comments

Comments
 (0)