File tree 2 files changed +13
-33
lines changed
2 files changed +13
-33
lines changed Original file line number Diff line number Diff line change 12
12
jobs :
13
13
build :
14
14
name : ${{ matrix.name }}
15
- runs-on : ${{ matrix.os }}
15
+ runs-on : ${{ matrix.os || 'ubuntu-latest' }}
16
16
17
17
strategy :
18
18
fail-fast : false
19
19
matrix :
20
- name : [
21
- " docs" ,
22
- " py36" ,
23
- " py37" ,
24
- " py38" ,
25
- " py39" ,
26
- " py310" ,
27
- " lint" ,
28
- " packaging" ,
29
- ]
30
- os : [
31
- " ubuntu-latest" ,
32
- ]
33
-
34
20
include :
35
-
36
21
- name : docs
37
- python : " 3.6"
38
- os : ubuntu-latest
22
+ python : " 3.10"
39
23
tox_env : docs
24
+ - name : " lint"
25
+ python : " 3.10"
26
+ tox_env : " lint"
27
+ - name : " packaging"
28
+ python : " 3.10"
29
+ tox_env : " packaging"
30
+
40
31
- name : py36
41
32
python : " 3.6"
42
- os : ubuntu-latest
43
33
tox_env : py36
44
34
- name : py37
45
35
python : " 3.7"
46
- os : ubuntu-latest
47
36
tox_env : py37
48
37
- name : py38
49
38
python : " 3.8"
50
- os : ubuntu-latest
51
39
tox_env : py38
52
40
- name : py39
53
41
python : " 3.9"
54
- os : ubuntu-latest
55
42
tox_env : py39
56
43
- name : py310
57
44
python : " 3.10"
58
- os : ubuntu-latest
59
45
tox_env : py310
60
46
- name : py311
61
47
python : " ~3.11.0-0" # see https://github.com/actions/setup-python/issues/213#issuecomment-1146676713
62
- os : ubuntu-latest
63
48
tox_env : py311
64
49
65
- - name : " lint"
66
- python : " 3.7"
67
- os : ubuntu-latest
68
- tox_env : " lint"
69
- - name : " packaging"
70
- python : " 3.7"
71
- os : ubuntu-latest
72
- tox_env : " packaging"
73
-
74
50
steps :
75
51
- uses : actions/checkout@v3
76
52
- name : Set up Python ${{ matrix.python }}
Original file line number Diff line number Diff line change 1
1
---
2
+ default_language_version :
3
+ # Enforce use of py310 because pylint does not support py311 yet, causing
4
+ # failures for those happening to have that as default python.
5
+ python : python3.10
2
6
repos :
3
7
- repo : https://github.com/pre-commit/pre-commit-hooks
4
8
rev : v4.3.0 # Use the ref you want to point at
You can’t perform that action at this time.
0 commit comments