Skip to content

Commit bffdd97

Browse files
committed
Set Python 3.14 via setup-uv python-version on coverage job
1 parent fafd351 commit bffdd97

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ jobs:
291291
with:
292292
enable-cache: true
293293
cache-dependency-glob: '**/pyproject.toml'
294+
# Pin to 3.14 so ``coverage`` can parse source files that use
295+
# PEP 758 syntax (parenthesis-free ``except E1, E2:``).
296+
python-version: '3.14'
294297

295298
- uses: actions/download-artifact@v8
296299
with:
@@ -300,9 +303,7 @@ jobs:
300303
- name: Require 100% Coverage
301304
id: coverage
302305
run: |
303-
# Pin to 3.14 so ``coverage`` can parse source files that use
304-
# PEP 758 syntax (parenthesis-free ``except E1, E2:``).
305-
uv tool install --python 3.14 'coverage[toml]'
306+
uv tool install 'coverage[toml]'
306307
307308
coverage combine
308309
coverage html --skip-covered --skip-empty

0 commit comments

Comments
 (0)