Skip to content

Commit 48fb855

Browse files
alingseclaude
andcommitted
Fix CI: add --system flag to uv pip install
In GitHub Actions environment, uv requires --system flag when no virtual environment is present. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2862097 commit 48fb855

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
echo "$HOME/.local/bin" >> $GITHUB_PATH
2323
- name: Install dependencies
2424
run: |
25-
uv pip install -e ".[dev]"
25+
uv pip install --system -e ".[dev]"
2626
- name: Run ruff
2727
run: ruff check .
2828
- name: Run mypy
@@ -45,7 +45,7 @@ jobs:
4545
echo "$HOME/.local/bin" >> $GITHUB_PATH
4646
- name: Install dependencies
4747
run: |
48-
uv pip install -e ".[dev]"
48+
uv pip install --system -e ".[dev]"
4949
- name: Run tests
5050
run: pytest --cov=jsoncsv --cov-report=xml
5151
- name: Upload coverage
@@ -68,8 +68,8 @@ jobs:
6868
echo "$HOME/.local/bin" >> $GITHUB_PATH
6969
- name: Build package
7070
run: |
71-
uv pip install build
72-
uv pip install twine
71+
uv pip install --system build
72+
uv pip install --system twine
7373
python -m build
7474
- name: Check package
7575
run: twine check dist/*

0 commit comments

Comments
 (0)