Skip to content

Commit

Permalink
Add python 3.12 to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philgyford committed Jun 20, 2023
1 parent d7ae296 commit 3b53cb1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
django-version: ["3.2", "4.1", "4.2", "main"]
exclude:
# Django 4.x aren't compatible with python 3.6 and 3.7:
Expand All @@ -34,6 +34,14 @@ jobs:
- python-version: "3.9"
django-version: "main"

- python-version: "3.11"
django-version: "3.2"

- python-version: "3.12-dev"
django-version: "3.2"
- python-version: "3.12-dev"
django-version: "4.1"

steps:
- name: Git clone
uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ envlist =
py38-django{32,41,42,main}
py39-django{32,41,42,main}
py310-django{32,41,42,main}
py311-django{32,41,42,main}
py311-django{41,42,main}
py312-django{42,main}
flake8

[gh-actions]
Expand All @@ -19,6 +20,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[gh-actions:env]
; Maps GitHub Actions DJANGO version env var to tox env vars:
Expand Down

0 comments on commit 3b53cb1

Please sign in to comment.