Skip to content

Commit

Permalink
chore(ci): use uv to install packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Aug 30, 2024
1 parent a10be06 commit 9dccd5f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- uses: hynek/setup-cached-uv@v2
with:
cache-dependency-path: '**/requirements*.txt'
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
pip install --no-binary :all: cffi
pip install -r requirements.txt -r requirements-test.txt psycopg2-binary
run: uv pip install --system -r requirements.txt -r requirements-test.txt psycopg2-binary
- name: Test
env:
CI_DATABASE: postgresql
Expand Down

0 comments on commit 9dccd5f

Please sign in to comment.