Skip to content

Commit

Permalink
add uv to resolve dependencies (huggingface#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
guipenedo authored May 22, 2024
1 parent d62da07 commit b160af0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[quality]
python -m pip install uv
uv pip install --system .[quality]
- name: Check quality
run: |
ruff check tests src examples # linter
Expand All @@ -41,8 +41,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[testing]
python -m pip install uv
uv pip install --system .[testing]
python -m nltk.downloader punkt
- name: Test with pytest
run: |
Expand Down

0 comments on commit b160af0

Please sign in to comment.