Skip to content

Commit b2e9981

Browse files
Fix CI: Use uv run for pytest to access venv packages
Amp-Thread-ID: https://ampcode.com/threads/T-1f1f15f6-c4ef-4e6e-896a-67a085d602b0 Co-authored-by: Amp <[email protected]>
1 parent 3449c8a commit b2e9981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Run tests
7474
run: |
75-
pytest --cov=json2xml --cov-report=xml:coverage/reports/coverage.xml --cov-report=term -xvs tests -n auto
75+
uv run pytest --cov=json2xml --cov-report=xml:coverage/reports/coverage.xml --cov-report=term -xvs tests -n auto
7676
env:
7777
PYTHONPATH: ${{ github.workspace }}
7878

0 commit comments

Comments
 (0)