Skip to content

Commit

Permalink
Added testing on Django 5.1 (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
benkonrath authored Dec 24, 2024
1 parent 085fb2b commit a6b00f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
architecture: x64
- name: Install tox
run: |
Expand Down Expand Up @@ -49,6 +49,7 @@ jobs:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ envlist =
{py38,py39,py310,py311,pypy39}-django-4.1
{py38,py39,py310,py311,pypy39}-django-4.2
{py310,py311,py312}-django-5.0
{py310,py311,py312}-django-main
{py310,py311,py312,py313}-django-5.1
{py310,py311,py312,py313}-django-main

[testenv]
basepython =
Expand All @@ -15,6 +16,7 @@ basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
pypy39: pypy3.9
usedevelop = true
pip_pre = true
Expand All @@ -26,15 +28,16 @@ deps =
django-3.2: Django>=3.2,<3.3
django-4.1: Django>=4.1,<4.2
django-4.2: Django>=4.2,<4.3
django-5.0: Django>=5.0rc1,<5.1
django-5.0: Django>=5.0,<5.1
django-5.1: Django>=5.1,<5.2
django-main: https://github.com/django/django/archive/main.tar.gz
-r{toxinidir}/tests/requirements.txt

[testenv:docs]
deps =
Sphinx>=1.3
-r{toxinidir}/docs/requirements.txt
basepython = python3.11
basepython = python3.12
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html

Expand Down

0 comments on commit a6b00f2

Please sign in to comment.