Skip to content

Commit

Permalink
Add Django 5.0.x to build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorodgerbrown committed Sep 23, 2023
1 parent c6afdb6 commit 0ebbc8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ jobs:
python: ["3.8", "3.9", "3.10", "3.11"]
django: ["32", "41", "main"]
exclude:
- django: main
python: "3.8"
- django: main
python: "3.9"
- django: ["50", "main"]
python: ["3.8", "3.9"]

env:
TOXENV: py${{ matrix.python }}-django${{ matrix.django }}-es${{ matrix.es }}
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ isolated_build = True
envlist = fmt, lint, mypy,
py38-django{32,40,41}
py39-django{32,40,41}
py310-django{32,40,41,42,main}
py311-django{41,42,main}
py310-django{32,40,41,42,50,main}
py311-django{41,42,50,main}

[testenv]
deps =
Expand All @@ -15,6 +15,7 @@ deps =
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: https://github.com/django/django/archive/stable/5.0.x.tar.gz
djangomain: https://github.com/django/django/archive/main.tar.gz

commands =
Expand Down

0 comments on commit 0ebbc8d

Please sign in to comment.