Skip to content

feat: Drop python 3.9 and Django 4.2,5.0; add python 3.14, Django 5.2 #176

feat: Drop python 3.9 and Django 4.2,5.0; add python 3.14, Django 5.2

feat: Drop python 3.9 and Django 4.2,5.0; add python 3.14, Django 5.2 #176

Workflow file for this run

# Docs:
# - https://docs.github.com/en/actions/guides/about-service-containers
# - https://github.com/actions/example-services/blob/main/.github/workflows/mongodb-service.yml
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
Test:
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
- "pypy3.10"
- "pypy3.11"
django:
- "Django>=5.1,<5.2"
- "Django>=5.2,<6.0"
exclude:
- python: "3.14"
django: "Django>=5.1,<5.2"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DJANGO: ${{ matrix.django }}
services:
mongodb:
image: mongo
ports:
- 27017:27017
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python }}
- name: Set up env
run: |
uv sync --group dev
uv pip install -q "${{ matrix.django }}"
- name: Run tests
run: |
uv run ruff check .
uv run ruff format --check .
uv run python -m pytest