Skip to content

Commit

Permalink
ci: use uv to install python deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkuettel committed Dec 10, 2024
1 parent e78e14a commit e983001
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 @@ -42,8 +42,10 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[mypy] GitPython flake8 flake8-bugbear flake8-pyi bandit[toml]
python -m pip install --upgrade uv
uv pip install -r requirements.txt -r tests_requirements.txt
env:
UV_SYSTEM_PYTHON: true

- name: Linting
run: flake8 src/ tests/ stubs/
Expand Down

0 comments on commit e983001

Please sign in to comment.