Skip to content

Commit

Permalink
Remove tests against Django 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw committed Aug 15, 2024
1 parent 0f22ce9 commit bbc2277
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,16 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version: ['3.2', '4.2', '5.0', 'main']
django-version: ['4.2', '5.0', 'main']
postgres-version: ['12', '16']
mariadb-version: ['10.6', '10.11', '11.2']
exclude:
# Django <=4.0 doesn't support python 3.11 (https://docs.djangoproject.com/en/4.1/faq/install/)
- python-version: '3.11'
django-version: '3.2'
- python-version: '3.12'
django-version: '3.2'

# Django 5.0 doesn't support python <=3.9 (https://docs.djangoproject.com/en/5.0/faq/install/)
- python-version: '3.8'
django-version: '5.0'
- python-version: '3.9'
django-version: '5.0'

# only test Django dev with PostgreSQL 12 and MariaDB 10.4
- django-version: '3.2'
postgres-version: '12'
- django-version: '3.2'
mariadb-version: '10.4'

services:
postgres:
image: postgres:${{ matrix.postgres-version }}
Expand Down
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ python =

[gh-actions:env]
DJANGO =
3.2: dj32
4.2: dj42
5.0: dj50
main: djmain

[tox]
envlist =
py{38,39,310}-dj32-{sqlite3,mysql,postgresql}
py{38,39,310,311}-dj{41,42,50,main}-{sqlite3,mysql,postgresql}
py312-dj{42,50,main}-{sqlite3,mysql,postgresql}

Expand All @@ -28,7 +26,6 @@ deps =
-rrequirements.txt
mysql: mysqlclient
postgresql: psycopg2-binary
dj32: django>=3.2,<3.3
dj42: django>=4.2,<4.3
dj50: django>=5.0,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
Expand Down

0 comments on commit bbc2277

Please sign in to comment.