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

Commit

Permalink
feat: add python312 support
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot committed Feb 23, 2024
1 parent 375441f commit a82337b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
11 changes: 5 additions & 6 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,10 +15,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
python-version:
- 3.8
toxenv: [ django42 ]
- ubuntu-20.04
python-version: [3.8, '3.8', '3.12']
toxenv: [django42]
steps:
- uses: actions/checkout@v1
- name: setup python
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tox]
envlist = py38-django{42}
envlist = py{38, 312}-django{42}
skipsdist = true

[testenv]
passenv = *
deps =
django42: -r requirements/django.txt
deps =
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
allowlist_externals =
allowlist_externals =
i18n_tool
/bin/bash
commands = {posargs:pytest}

0 comments on commit a82337b

Please sign in to comment.