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 b061244 commit 19b759f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.8']
toxenv: [quality, django32, django42]
python-version:
- '3.8'
- '3.12'
toxenv: [quality, django42]

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[tox]
envlist = py38-django{32,42}, quality, docs
envlist = py{38, 312}-django{42}, quality, docs

[pytest]
DJANGO_SETTINGS_MODULE = xblock.test.settings
django_settings_module = xblock.test.settings
addopts = --cov xblock
filterwarnings = always
norecursedirs = .* docs requirements

[testenv]
deps =
django32: Django>=3.2,<4.0
django42: Django>=4.2,<4.3
-r requirements/test.txt
changedir = {envsitepackagesdir}
Expand Down

0 comments on commit 19b759f

Please sign in to comment.