Skip to content

Fix DsfrBoundField not rendering correctly checkboxes because of unde… #15

Fix DsfrBoundField not rendering correctly checkboxes because of unde…

Fix DsfrBoundField not rendering correctly checkboxes because of unde… #15

Workflow file for this run

name: Django-DSFR CI for python 3.12+
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ matrix.python-version }} with uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: 👷 Install Dependencies
run: |
uv sync --all-extras --no-group dev
- name: 🚧 Check pending migrations
run: |
uv run python manage.py makemigrations --check --dry-run --noinput
- name: 🧪 Run Tests - Django 4
run: |
uv run python manage.py test
- name: 🧪 Run Tests - Django 5
run: |
uv add "django>=5.0,<6.0"
uv run python manage.py test
- name: 🧪 Run Tests - Django 6
run: |
sed -i 's/requires-python = "<4.0,>=3.10"/requires-python = "<4.0,>=3.12"/g' pyproject.toml
uv add "django>=6.0"
uv run python manage.py test