Skip to content

Use the Pyproject toml settings for black #167

Use the Pyproject toml settings for black

Use the Pyproject toml settings for black #167

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# Django 3.2
- django-version: "3.2"
python-version: "3.10"
# Django 4.2
- django-version: "4.2"
python-version: "3.10"
- django-version: "4.2"
python-version: "3.11"
- django-version: "4.2"
python-version: "3.12"
# Django 5.2
- django-version: "5.2"
python-version: "3.10"
- django-version: "5.2"
python-version: "3.11"
- django-version: "5.2"
python-version: "3.12"
- django-version: "5.2"
python-version: "3.13"
- django-version: "5.2"
python-version: "3.14"
# Django 6.0
- django-version: "6.0"
python-version: "3.12"
- django-version: "6.0"
python-version: "3.13"
- django-version: "6.0"
python-version: "3.14"
steps:
- uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Use specific django version
run: uv add -U django~=${{ matrix.django-version }}
- name: Install dependencies
run: uv sync --all-extras
- name: Run tests
run: uv run coverage run -m django test --settings=tests.settings --pythonpath=. -v 2
- name: Report coverage to Codecov
uses: codecov/codecov-action@v3