diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3007fb4..de33e40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [ - quality, docs, django32-drf314, django42-drf314 - ] + python-version: + - '3.8' + - '3.12' + toxenv: [quality, docs, django32-drf314, django42-drf314, django42] steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index cde9012..a669fd1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,14 @@ [tox] -envlist = py38-django{32,42}-drf{312, drf314}, quality, docs +envlist = py{38, 312}-django{42}-drf{312, drf314}, quality, docs [testenv] setenv = DJANGO_SETTINGS_MODULE = settings deps = -r{toxinidir}/requirements/test.txt - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 drf314: djangorestframework<3.15.0 -commands = +commands = python -Wd -m pytest {posargs} [testenv:quality]