Skip to content

Bump astral-sh/setup-uv from 6 to 7 #95

Bump astral-sh/setup-uv from 6 to 7

Bump astral-sh/setup-uv from 6 to 7 #95

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
quality:
name: ${{ matrix.os }} / Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v7
- name: Run Django system checks
run: uv run --no-project --with-requirements requirements-dev.txt python manage.py check
- name: Run pre-commit
run: uv run --no-project --with-requirements requirements-dev.txt pre-commit run --all-files
- name: Analyze dependency licenses
run: uv run --no-project --with-requirements requirements-dev.txt --with pip-licenses pip-licenses --format=markdown --with-authors --with-urls --output-file licenses-report.md
- name: Upload license report
uses: actions/upload-artifact@v4
with:
name: licenses-report-${{ matrix.os }}-py${{ matrix.python-version }}
path: licenses-report.md
- name: Run unit tests with coverage
run: |
uv run --no-project --with-requirements requirements-dev.txt coverage run manage.py test
uv run --no-project --with-requirements requirements-dev.txt coverage report --fail-under=80