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 0c7bf51 commit f753dff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Python CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- '**'
- '**'

jobs:
run_tests:
Expand All @@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
python-version: [3.8 ]
toxenv: [django32, django42]
- ubuntu-20.04
python-version: [3.8, '3.8', '3.12']
toxenv: [django42]

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

[testenv]
changedir = {envtmpdir}
Expand All @@ -9,7 +9,6 @@ basepython =
commands =
coverage run --rcfile={toxinidir}/.coveragerc {toxinidir}/test_project/manage.py test --settings=test_project.settings require -v 2
deps =
django32: Django>=3.2,<4.0
django42: Django>=4.2,<4.3
tox>=2.0.0
coverage
Expand Down

0 comments on commit f753dff

Please sign in to comment.