Skip to content

Commit 9c27efb

Browse files
committed
Use uv in CI
1 parent da1b0db commit 9c27efb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
- name: Set up test environment
3333
run: |
3434
python -m pip install --upgrade pip
35-
pip install -e .[test]
35+
pip install uv
36+
uv venv
37+
uv pip install -e .[test]
3638
- name: Create matrix id
3739
id: matrix-id
3840
env:
@@ -44,7 +46,7 @@ jobs:
4446
echo "::set-output name=id::$MATRIX_ID"
4547
- name: Run tests
4648
run: |
47-
pytest -x --cov=outlines
49+
uv run pytest -x --cov=outlines
4850
env:
4951
COVERAGE_FILE: .coverage.${{ steps.matrix-id.outputs.id }}
5052
- name: Upload coverage data

0 commit comments

Comments
 (0)