Skip to content

Commit

Permalink
Use uv for package installation
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Sep 19, 2024
1 parent ba2491e commit a472d71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
${{ runner.os }}-pip-${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f optional_requirements.txt ]; then pip install -r optional_requirements.txt; fi
pip install -e .
python -m pip install uv
uv pip install flake8 pytest
if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
if [ -f optional_requirements.txt ]; then uv pip install -r optional_requirements.txt; fi
uv pip install -e .
- name: Test with pytest
run: |
pytest
Expand Down

0 comments on commit a472d71

Please sign in to comment.