Skip to content

Commit

Permalink
Fix: future tests & 4.2 tests (#104)
Browse files Browse the repository at this point in the history
* ci: Update python versions for the compatible main version of django

* ci: Test against django 4.2

* ci: Update tox tests against django 4.2 and main
  • Loading branch information
marksweb authored Apr 26, 2023
1 parent 2f97d93 commit 30fe1e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
django-version: ['3.2', '4.0', '4.1']
django-version: ['3.2', '4.0', '4.1', '4.2']
os: [
ubuntu-20.04,
]
Expand All @@ -19,6 +19,10 @@ jobs:
django-version: '3.2'
- python-version: '3.11'
django-version: '4.0'
- python-version: '3.8'
django-version: '4.2'
- python-version: '3.9'
django-version: '4.2'

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -46,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.10', '3.11']
django-version: [
'https://github.com/django/django/archive/main.tar.gz'
]
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
envlist =
flake8
isort
py{38,39,310}-dj{32,40,41,main}
py{310,311}-dj{41,main}
py{38,39,310}-dj{32,40,41}
py{310,311}-dj{41,42,main}

skip_missing_interpreters=True

Expand All @@ -13,6 +13,7 @@ deps =
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
djmain: https://github.com/django/django/archive/main.tar.gz
commands =
{envpython} --version
Expand Down

0 comments on commit 30fe1e1

Please sign in to comment.