Skip to content

Update example SVGs #18

Update example SVGs

Update example SVGs #18

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Python ${{ matrix.python-version }} / Django ${{ matrix.django-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
django-version: [ "4.2", "5.0", "5.1", "5.2", "6.0" ]
exclude:
- python-version: "3.13"
django-version: "4.2"
- python-version: "3.14"
django-version: "4.2"
- python-version: "3.13"
django-version: "5.0"
- python-version: "3.14"
django-version: "5.0"
- python-version: "3.14"
django-version: "5.1"
- python-version: "3.10"
django-version: "6.0"
- python-version: "3.11"
django-version: "6.0"
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync -p ${{ matrix.python-version }}
- name: Install specific Django version
run: uv pip install "django~=${{ matrix.django-version }}.0"
- name: Run tests
run: uv run --frozen pytest
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.14"
- name: Run ruff check
run: uv run ruff check .
- name: Run ruff format check
run: uv run ruff format --check .