Skip to content

Commit

Permalink
split setuptools/wheel and requirements installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasertl committed Dec 4, 2024
1 parent d23c01f commit 9e26c13
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:

jobs:
env:
UV_SYSTEM_PYTHON: 1

run:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -44,10 +46,11 @@ jobs:
pyproject.toml
requirements/requirements*.txt
- name: Update setuptools/wheel
run: uv pip install -U setuptools wheel

- name: Install dependencies
run: |
uv pip install --system -U setuptools wheel
uv pip install --system -r requirements.txt -r requirements/requirements-test.txt django~=${{ matrix.django-version }} cryptography~=${{ matrix.cryptography-version }} pydantic~=${{ matrix.pydantic-version }}
run: uv pip install -r requirements.txt -r requirements/requirements-test.txt django~=${{ matrix.django-version }} cryptography~=${{ matrix.cryptography-version }} pydantic~=${{ matrix.pydantic-version }}

- name: Initialize demo
run: python dev.py init-demo
Expand Down

0 comments on commit 9e26c13

Please sign in to comment.