-
Notifications
You must be signed in to change notification settings - Fork 33
44 lines (35 loc) · 842 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI testing
on:
pull_request:
branches: [ master ]
paths-ignore:
- '**/README.md'
- 'docs/**'
push:
branches: [master]
paths-ignore:
- '**/README.md'
- 'docs/**'
jobs:
ci:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
python: [3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: pip install --upgrade pip poetry
- name: Install poetry
run: poetry install
- name: Run make ci
run: make ci
- name: Coveralls
run: poetry run coveralls --service=github