Skip to content

Commit 0552bcb

Browse files
committed
CI: Use uv backend for nox
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 3b730a8 commit 0552bcb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757

5858
- name: Install required Python packages
5959
run: |
60-
python -m pip install --upgrade pip
61-
python -m pip install -e .[dev-noxfile]
60+
python -m pip install --upgrade pip uv
61+
python -m uv pip install -e .[dev-noxfile]
6262
pip freeze
6363
6464
# Restore pytest cache only for pytest_min session to use the cache
@@ -72,7 +72,7 @@ jobs:
7272
- name: Create nox venv
7373
env:
7474
NOX_SESSION: ${{ matrix.nox-session }}
75-
run: nox --install-only -e "$NOX_SESSION"
75+
run: nox -db uv --install-only -e "$NOX_SESSION"
7676

7777
- name: Print pip freeze for nox venv (debug)
7878
env:
@@ -96,9 +96,9 @@ jobs:
9696
NOX_SESSION: ${{ matrix.nox-session }}
9797
run: |
9898
if [ "$NOX_SESSION" = "pytest_min" ]; then
99-
nox -R -e "$NOX_SESSION" -- --ff -o cache_dir=.pytest_cache
99+
nox -db uv -R -e "$NOX_SESSION" -- --ff -o cache_dir=.pytest_cache
100100
else
101-
nox -R -e "$NOX_SESSION"
101+
nox -db uv -R -e "$NOX_SESSION"
102102
fi
103103
timeout-minutes: 10
104104

0 commit comments

Comments
 (0)