Skip to content

Commit

Permalink
Update python and Django matrix for tox
Browse files Browse the repository at this point in the history
Django main only supports Python 3.10+. The 4.2 release is in alpha
stages.

Include Python 3.11 in the test matrix.
  • Loading branch information
francoisfreitag committed Feb 28, 2023
1 parent 0ae33cb commit a57653a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ jobs:
- 3.8
- 3.9
- '3.10'
- '3.11'
tox-environment:
- dj32
- dj40
- dj41
- djmain
- dj42
include:
- python-version: 3.7
tox-environment: dj32
- python-version: '3.10'
tox-environment: djmain

env:
COVERALLS_FLAG_NAME: Python ${{ matrix.python-version }} / ${{ matrix.tox-environment }}
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
dj32
dj40
dj41
dj42
djmain
isolated_build = true
minversion = 1.9
Expand All @@ -17,6 +18,7 @@ deps =
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<4.3
djmain: https://github.com/django/django/archive/main.tar.gz
djangorestframework
extras = phonenumberslite
Expand Down

0 comments on commit a57653a

Please # to comment.