Skip to content

Convert pipenv to uv #345

Convert pipenv to uv

Convert pipenv to uv #345

Workflow file for this run

name: Django CI
on:
# schedule:
# - cron: '16 18 * * 2'
push:
branches: [ main, uv-migration ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
version: "0.8.24"
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: pre-commit
run: |
uvx pre-commit@4.2.0 run --all-files
- name: Run Tests
run: |
uv run ./manage.py test
uv run ./manage.py makemigrations
uv run ./manage.py migrate
uv run ./manage.py check