Skip to content

Commit 3449c8a

Browse files
Fix CI: Use uv venv to avoid --system installation issues
Amp-Thread-ID: https://ampcode.com/threads/T-1f1f15f6-c4ef-4e6e-896a-67a085d602b0 Co-authored-by: Amp <[email protected]>
1 parent f40212c commit 3449c8a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ jobs:
6363
6464
- name: Install dependencies
6565
run: |
66-
uv pip install --system -e .
67-
uv pip install --system pytest pytest-xdist pytest-cov
66+
uv venv
67+
uv pip install -e .
68+
uv pip install pytest pytest-xdist pytest-cov
6869
6970
- name: Create coverage directory
7071
run: mkdir -p coverage/reports
@@ -114,7 +115,8 @@ jobs:
114115
115116
- name: Install dependencies
116117
run: |
117-
uv pip install --system -e .
118+
uv venv
119+
uv pip install -e .
118120
119121
- name: Run ruff
120122
run: uvx ruff check json2xml tests

0 commit comments

Comments
 (0)