Skip to content

Commit

Permalink
feat: add python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot committed Feb 23, 2024
1 parent fc1c215 commit 4c869f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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 =
Expand All @@ -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
Expand All @@ -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
Expand All @@ -41,7 +40,7 @@ deps =
skip_install = True

[testenv:quality]
passenv =
passenv =
TRAVIS
TRAVIS_JOB_ID
TRAVIS_BRANCH
Expand Down

0 comments on commit 4c869f7

Please sign in to comment.