@@ -13,17 +13,21 @@ jobs:
13
13
matrix :
14
14
os : [ubuntu-latest, macos-latest, windows-latest]
15
15
experimental : [false]
16
- python-version : ["3.7", "3.8", "3.9", "3.10", "pypy-3.7", "pypy-3.8"]
17
- include :
18
- # Only test on a single configuration while there are just pre-releases
19
- - os : ubuntu-latest
20
- experimental : true
21
- python-version : " 3.11.0-alpha - 3.11.0"
16
+ python-version : [
17
+ " 3.7" ,
18
+ " 3.8" ,
19
+ " 3.9" ,
20
+ " 3.10" ,
21
+ " 3.11.0-alpha - 3.11.0" ,
22
+ " pypy-3.7" ,
23
+ " pypy-3.8" ,
24
+ " pypy-3.9" ,
25
+ ]
22
26
fail-fast : false
23
27
steps :
24
- - uses : actions/checkout@v2
28
+ - uses : actions/checkout@v3
25
29
- name : Set up Python ${{ matrix.python-version }}
26
- uses : actions/setup-python@v3
30
+ uses : actions/setup-python@v4
27
31
with :
28
32
python-version : ${{ matrix.python-version }}
29
33
- name : Install dependencies
@@ -34,16 +38,16 @@ jobs:
34
38
run : |
35
39
tox -e gh
36
40
- name : Upload coverage to Codecov
37
- uses : codecov/codecov-action@v2
41
+ uses : codecov/codecov-action@v3
38
42
with :
39
43
fail_ci_if_error : true
40
44
41
45
static-code-analysis :
42
46
runs-on : ubuntu-latest
43
47
steps :
44
- - uses : actions/checkout@v2
48
+ - uses : actions/checkout@v3
45
49
- name : Set up Python
46
- uses : actions/setup-python@v3
50
+ uses : actions/setup-python@v4
47
51
with :
48
52
python-version : " 3.10"
49
53
- name : Install dependencies
75
79
format :
76
80
runs-on : ubuntu-latest
77
81
steps :
78
- - uses : actions/checkout@v2
82
+ - uses : actions/checkout@v3
79
83
- name : Set up Python
80
- uses : actions/setup-python@v3
84
+ uses : actions/setup-python@v4
81
85
with :
82
86
python-version : " 3.10"
83
87
- name : Install dependencies
91
95
docs :
92
96
runs-on : ubuntu-latest
93
97
steps :
94
- - uses : actions/checkout@v2
98
+ - uses : actions/checkout@v3
95
99
- name : Set up Python
96
- uses : actions/setup-python@v3
100
+ uses : actions/setup-python@v4
97
101
with :
98
102
python-version : " 3.10"
99
103
- name : Install dependencies
@@ -109,3 +113,16 @@ jobs:
109
113
name : sphinx-out
110
114
path : ./build/
111
115
retention-days : 5
116
+
117
+ build :
118
+ runs-on : ubuntu-latest
119
+ steps :
120
+ - uses : actions/checkout@v3
121
+ - name : Set up Python
122
+ uses : actions/setup-python@v4
123
+ with :
124
+ python-version : " 3.10"
125
+ - name : Build wheel and sdist
126
+ run : pipx run build
127
+ - name : Check build artifacts
128
+ run : pipx run twine check --strict dist/*
0 commit comments