Skip to content

Commit

Permalink
Use uv in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rlouf committed Feb 13, 2025
1 parent 22f425d commit aa83128
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
- name: Set up test environment
run: |
python -m pip install --upgrade pip
pip install -e .[test]
pip install uv
uv env
uv pip install -e .[test]
- name: Create matrix id
id: matrix-id
env:
Expand All @@ -44,7 +46,7 @@ jobs:
echo "::set-output name=id::$MATRIX_ID"
- name: Run tests
run: |
pytest -x --cov=outlines
uv run pytest -x --cov=outlines
env:
COVERAGE_FILE: .coverage.${{ steps.matrix-id.outputs.id }}
- name: Upload coverage data
Expand Down

0 comments on commit aa83128

Please sign in to comment.