2020permissions :
2121 contents : read
2222
23+ env :
24+ TARGET_PYTHON_VERSION : " 3.14"
25+
2326jobs :
2427 changes :
2528 runs-on : ubuntu-latest
@@ -60,15 +63,15 @@ jobs:
6063 runs-on : ubuntu-latest
6164 strategy :
6265 matrix :
63- python-version : ["3.9", "3. 10", "3.11", "3.12", "3.13", "3.14"]
66+ python-version : ["3.10", "3.11", "3.12", "3.13", "3.14"]
6467 package : ${{ fromJSON(needs.changes.outputs.packages) }}
6568 steps :
6669 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
6770 with :
6871 submodules : recursive
6972
7073 - name : Install uv and set the python version ${{ matrix.python-version }}
71- uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
74+ uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7
7275 with :
7376 python-version : ${{ matrix.python-version }}
7477 activate-environment : true
@@ -82,15 +85,15 @@ jobs:
8285 run : uv build
8386
8487 - name : Type checking
85- if : matrix.python-version == '3.13'
88+ if : matrix.python-version == env.TARGET_PYTHON_VERSION
8689 working-directory : ${{ matrix.package }}
8790 run : poe mypy
8891
8992 - name : Test with pytest
9093 working-directory : ${{ matrix.package }}
9194 run : poe cov
9295
93- - if : matrix.python-version == '3.13'
96+ - if : matrix.python-version == env.TARGET_PYTHON_VERSION
9497 name : Upload coverage to Codecov
9598 uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
9699 with :
@@ -106,9 +109,9 @@ jobs:
106109 steps :
107110 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
108111 - name : Install uv and set the python version
109- uses : astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
112+ uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7
110113 with :
111- python-version : " 3.13 "
114+ python-version : ${{ env.TARGET_PYTHON_VERSION }}
112115 enable-cache : false # caching is done automatically in `pre-commit/action`
113116
114117 - name : Run pre-commit
0 commit comments