diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e6c687..e3002f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,10 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [django32, django42, quality, csslint, eslint] + python-version: + - '3.8' + - '3.12' + toxenv: [django42, quality, csslint, eslint] steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index f754e90..51d2f36 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,8 @@ [tox] -envlist = csslint,eslint,pycodestyle,pylint,py38-django{32,42} +envlist = csslint,eslint,pycodestyle,pylint,py{38, 312}-django{42} [testenv] deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 -rrequirements/test.txt commands = @@ -20,7 +19,7 @@ skip_install = True [testenv:csslint] allowlist_externals = {toxinidir}/node_modules/csslint/dist/cli.js -passenv = +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH @@ -31,7 +30,7 @@ skip_install = True [testenv:eslint] allowlist_externals = {toxinidir}/node_modules/eslint/bin/eslint.js -passenv = +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH @@ -41,7 +40,7 @@ deps = skip_install = True [testenv:quality] -passenv = +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH