-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (40 loc) · 1.09 KB
/
check.yaml
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
# https://docs.github.com/en/actions
name: Check
on:
push:
pull_request:
jobs:
# For linting, any one Python version is enough
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.10.8
- run: make lint
# For testing, we try to use as many versions as possible. Here we're
# using the latest patch level available for every major.minor.
#
# Note that Ubuntu 18.04 has the most Python versions available:
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
test:
runs-on: ubuntu-18.04
strategy:
matrix:
python:
- 2.7.18 # 18 20
- 3.4.10 # 18
- 3.5.10 # 18 20
- 3.6.15 # 18 20
- 3.7.15 # 18 20 22
- 3.8.14 # 18 20 22
- 3.9.15 # 18 20 22
- 3.10.8 # 18 20 22
- 3.11.0 # 18 20 22
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: make test