chore: try using UV for windows runs

This commit is contained in:
Matthias
2024-12-10 21:32:08 +01:00
parent 0159d25e48
commit 3295b1c8de

View File

@@ -267,6 +267,8 @@ jobs:
matrix:
os: [ windows-latest ]
python-version: ["3.10", "3.11", "3.12"]
env:
UV_SYSTEM_PYTHON: 1
steps:
- uses: actions/checkout@v4
@@ -275,15 +277,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version-file: ".python-version"
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Pip cache (Windows)
uses: actions/cache@v4
with:
path: ~\AppData\Local\pip\Cache
key: pip-${{ matrix.os }}-${{ matrix.python-version }}
- name: Installation
run: |
Set-Alias -name pip -value "uv pip"
./build_helpers/install_windows.ps1
- name: Tests