Skip to content

Commit

Permalink
use UV for faster lint+test action
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Aug 12, 2024
1 parent 4c22162 commit 14f70d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install uv
run: |
pip install -U pip uv
- name: Install dependencies
env:
PARSONS_LIMITED_DEPENDENCIES: ${{ matrix.limited-dependencies }}
run: |
pip install -U pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
uv pip install --system -e .[all]
uv pip install --system -r requirements-dev.txt
- name: Run tests
run: pytest -rf test/
- name: Check linting
Expand Down

0 comments on commit 14f70d4

Please sign in to comment.