Skip to content

Commit ce09971

Browse files
Remove --system flag and use uv run --with properly
Use uv's isolated environment approach instead of system-wide installation. This is the recommended pattern for both GitHub Actions and GitLab CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 11bb727 commit ce09971

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,15 @@ jobs:
4545
- name: Set up Python ${{ matrix.python }}
4646
run: uv python install ${{ matrix.python }}
4747

48-
- name: Install package from wheel
49-
run: uv pip install --system dist/*.whl
50-
5148
- name: Download test files
5249
uses: actions/checkout@v4
5350
with:
5451
sparse-checkout: |
5552
testing
5653
sparse-checkout-cone-mode: false
5754

58-
- name: Run tests
59-
run: uv run pytest testing --color=yes
55+
- name: Run tests with built wheel
56+
run: uv run --with dist/*.whl --with pytest pytest testing --color=yes
6057

6158
publish-to-pypi:
6259
name: Publish to PyPI

0 commit comments

Comments
 (0)