From 9dccd5f8d167384c67c81d355c936965c2674d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 30 Aug 2024 09:12:53 +0200 Subject: [PATCH] chore(ci): use uv to install packages --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 615f388..5ea4666 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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