Skip to content

Commit

Permalink
Add Django 4.2, 5.0 to tox list.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartTC committed Apr 21, 2024
1 parent aa7696c commit 4fb3c55
Showing 1 changed file with 20 additions and 30 deletions.
50 changes: 20 additions & 30 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,47 +1,37 @@
[tox]
toxworkdir=/tmp/tox/django-dynamic-raw-id
skip_missing_interpreters=True
envlist=
readme
begin
py{38,39,310,311,312}-django-{32,40}
end
py{38,39,310,311,312}-django-{32,40,41,42}
py{310,311,312}-django-{50}

[gh-actions]
python =
readme: py37
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
install_command =
pip install {opts} {packages}
setenv =
DJANGO_SETTINGS_MODULE=dynamic_raw_id.tests.testapp.settings
MOZ_HEADLESS=1
extras=
tests
commands=
{envbindir}/django-admin collectstatic --noinput -v0
pytest --pyargs --cov={envsitepackagesdir}/dynamic_raw_id dynamic_raw_id
deps=
# Django versions
django-32: django==3.2.*
django-40: django==4.0.*

[testenv:begin]
basepython = python
skip_install = True
deps = coverage
commands = coverage erase

[testenv:end]
basepython = python
skip_install = True
deps = coverage
commands=
coverage report
coverage html

[testenv:readme]
basepython = python
skip_install = True
deps =
docutils
Pygments
commands =
rst2html.py --report=info --halt=warning README.rst /dev/null
rst2html.py --report=info --halt=warning CHANGELOG.rst /dev/null
django-41: django==4.1.*
django-42: django==4.2.*
django-50: django==5.0.*
pytest
pytest-django
pytest-cov
selenium

0 comments on commit 4fb3c55

Please sign in to comment.