Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

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 ba1a94a commit f1d5f21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, django32, django40, django42]
python-version:
- '3.8'
- '3.12'
toxenv: [quality, django42]
steps:
- uses: actions/checkout@v4
- name: setup python
Expand Down
10 changes: 4 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{32,40,42}, quality
envlist = py{38, 312}-django{42}, quality

[doc8]
max-line-length = 120
Expand All @@ -9,15 +9,13 @@ exclude = .git,.tox,migrations
max-line-length = 120

[pytest]
DJANGO_SETTINGS_MODULE = test_settings
django_settings_module = test_settings
addopts = --cov splash --cov-report term-missing --cov-report xml
norecursedirs = .* docs requirements

[testenv]
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django42: Django>=4.1,<5.0
deps =
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
commands =
python -Wd -m pytest {posargs}
Expand Down

0 comments on commit f1d5f21

Please sign in to comment.