diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73c4961..882c147 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,10 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [django32, django42] + python-version: + - '3.8' + - '3.12' + toxenv: [django42] steps: - uses: actions/checkout@v1 diff --git a/tox.ini b/tox.ini index 24a3764..0f6c75f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,22 +1,21 @@ [tox] -envlist = py38-django{32,42} +envlist = py{38, 312}-django{42} [testenv] skipsdist = True usedevelop = True -deps = - -r{toxinidir}/requirements/tox.txt - django32: Django>=3.2,<3.3 - django42: Django>=4.2,<4.3 - -e. +deps = + -r{toxinidir}/requirements/tox.txt + django42: Django>=4.2,<4.3 + -e. commands = - python -Wd -m pytest {posargs} + python -Wd -m pytest {posargs} [testenv:docs] commands = - pip install -e {toxinidir} - pip install -e {toxinidir}[docs] - sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html - sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html - sphinx-build -W -b linkcheck docs docs/_build/html + pip install -e {toxinidir} + pip install -e {toxinidir}[docs] + sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html + sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html + sphinx-build -W -b linkcheck docs docs/_build/html