Skip to content

Commit

Permalink
Support Django 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schilling authored Jan 28, 2025
1 parent 2d19e9a commit 1639665
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- master
- main

jobs:
linting:
Expand All @@ -31,15 +31,16 @@ jobs:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13"]
django-version: [ "4.2", "5.0", "5.1"]
django-version: [ "4.2", "5.0", "5.1", "5.2"]
drf-version: ["3.14", "3.15"]
exclude:
# Python 3.9 is incompatible with Django v5+
- django-version: 5.0
python-version: 3.9
# Python 3.9 is incompatible with Django v5+
- django-version: 5.1
python-version: 3.9
- django-version: 5.2
python-version: 3.9
# Django 4.2 is incompatible with Python 3.13+
- django-version: 4.2
python-version: 3.13
Expand All @@ -62,7 +63,7 @@ jobs:
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- run: |
source .venv/bin/activate
pip install "Django~=${{ matrix.django-version }}.0"
pip install "Django~=${{ matrix.django-version }}.0a1"
pip install "djangorestframework~=${{ matrix.drf-version }}.0"
- name: Run tests
run: |
Expand Down

0 comments on commit 1639665

Please sign in to comment.