54
54
name : Packages
55
55
path : dist
56
56
- run : tar xf dist/*.tar.gz --strip-components=1
57
- - uses : actions/setup-python@v5
58
- with :
59
- python-version : ${{ matrix.python-version }}
60
- allow-prereleases : true
61
57
- uses : hynek/setup-cached-uv@v2
62
58
63
59
- name : Prepare tox
@@ -116,10 +112,6 @@ jobs:
116
112
- run : |
117
113
tar xf dist/*.tar.gz --strip-components=1
118
114
rm -rf src # ensure tests run against wheel
119
- - uses : actions/setup-python@v5
120
- with :
121
- python-version : ${{ matrix.python-version }}
122
- allow-prereleases : true
123
115
- uses : hynek/setup-cached-uv@v2
124
116
125
117
- run : >
@@ -140,9 +132,6 @@ jobs:
140
132
name : Packages
141
133
path : dist
142
134
- run : tar xf dist/*.tar.gz --strip-components=1
143
- - uses : actions/setup-python@v5
144
- with :
145
- python-version-file : .python-version-default
146
135
- uses : hynek/setup-cached-uv@v2
147
136
148
137
- name : Download coverage data
@@ -153,7 +142,7 @@ jobs:
153
142
154
143
- name : Combine coverage & fail if it's <100%.
155
144
run : |
156
- uv tool install coverage
145
+ uv tool install --python $(cat .python-version-default) coverage
157
146
158
147
coverage combine
159
148
coverage html --skip-covered --skip-empty
@@ -182,10 +171,6 @@ jobs:
182
171
name : Packages
183
172
path : dist
184
173
- run : tar xf dist/*.tar.gz --strip-components=1
185
- - uses : actions/setup-python@v5
186
- with :
187
- # Keep in sync with tox/docs and .readthedocs.yaml.
188
- python-version : " 3.13"
189
174
- uses : hynek/setup-cached-uv@v2
190
175
191
176
- run : uvx --with=tox-uv tox run -e docs-doctests,changelog
@@ -197,12 +182,12 @@ jobs:
197
182
- uses : actions/checkout@v4
198
183
with :
199
184
persist-credentials : false
200
- - uses : actions/setup-python@v5
201
- with :
202
- python-version-file : .python-version-default
203
185
- uses : hynek/setup-cached-uv@v2
204
186
205
- - run : uvx --with=tox-uv tox run -e pyright
187
+ - run : >
188
+ uvx --with=tox-uv
189
+ --python $(cat .python-version-default)
190
+ tox run -e pyright
206
191
207
192
install-dev :
208
193
name : Verify dev env
@@ -212,9 +197,6 @@ jobs:
212
197
- uses : actions/checkout@v4
213
198
with :
214
199
persist-credentials : false
215
- - uses : actions/setup-python@v5
216
- with :
217
- python-version-file : .python-version-default
218
200
- uses : hynek/setup-cached-uv@v2
219
201
220
202
- run : uv venv --python $(cat .python-version-default)
0 commit comments