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 a1fee69
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ jobs:
python: ["3.8", "3.9", "3.10", "3.11"]
django: ["32", "41", "main"]
exclude:
- django: main
- django: "50"
python: "3.8"
- django: main
- django: "main"
python: "3.8"
- django: "50"
python: "3.9"
- django: "main"
python: "3.9"

env:
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 a1fee69

Please sign in to comment.