Skip to content

Commit 68511db

Browse files
Use uv on Windows Runners (#1536)
* Use uv on Windows runner * Linting --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent b0b9ba8 commit 68511db

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ jobs:
229229
windows:
230230
env:
231231
TOTAL_GROUPS: 1
232+
UV_PYTHON: "3.13"
233+
UV_PYTHON_DOWNLOADS: "never"
234+
UV_PYTHON_PREFERENCE: "only-system"
232235

233236
strategy:
234237
fail-fast: false
@@ -249,11 +252,12 @@ jobs:
249252
with:
250253
python-version: "3.13"
251254

255+
- name: Install uv
256+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # 6.8.0
257+
252258
- name: Install Dependencies
253259
run: |
254-
pip install --upgrade tox
255-
env:
256-
GROUP_NUMBER: ${{ matrix.group-number }}
260+
uv tool install tox --with tox-uv
257261
258262
- name: Get Environments
259263
id: get-envs
@@ -281,6 +285,9 @@ jobs:
281285
windows_arm64:
282286
env:
283287
TOTAL_GROUPS: 1
288+
UV_PYTHON: "3.13"
289+
UV_PYTHON_DOWNLOADS: "never"
290+
UV_PYTHON_PREFERENCE: "only-system"
284291

285292
strategy:
286293
fail-fast: false
@@ -301,11 +308,12 @@ jobs:
301308
with:
302309
python-version: "3.13"
303310

311+
- name: Install uv
312+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # 6.8.0
313+
304314
- name: Install Dependencies
305315
run: |
306-
pip install --upgrade tox
307-
env:
308-
GROUP_NUMBER: ${{ matrix.group-number }}
316+
uv tool install tox --with tox-uv
309317
310318
- name: Get Environments
311319
id: get-envs

0 commit comments

Comments
 (0)