Skip to content

Commit e150111

Browse files
committed
Using uv activate-environment to fix issue with system wide install
1 parent 2b2ef71 commit e150111

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,11 @@ jobs:
349349
- name: Install uv
350350
uses: astral-sh/setup-uv@v6
351351
with:
352+
activate-environment: true
352353
enable-cache: true
353354

354355
- name: Prepare env
355-
run: uv pip install --python=python3 --system -r tests/requirements.txt
356+
run: uv pip install -r tests/requirements.txt
356357

357358
- name: Configure
358359
shell: bash
@@ -527,10 +528,11 @@ jobs:
527528
- name: Install uv
528529
uses: astral-sh/setup-uv@v6
529530
with:
531+
activate-environment: true
530532
enable-cache: true
531533

532534
- name: Prepare env
533-
run: uv pip install --python=python3 --system -r tests/requirements.txt
535+
run: uv pip install -r tests/requirements.txt
534536

535537
- name: Update CMake
536538
uses: jwlawson/[email protected]

0 commit comments

Comments
 (0)