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

jobs:
run_tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]
toxenv: [ py38, quality ]
os: [ubuntu-20.04]
python-version: [3.8, '3.8', '3.12']
toxenv: [py38, quality, django42]

steps:
- uses: actions/checkout@v2
Expand Down
27 changes: 14 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[tox]
envlist = py38,quality
envlist = py{38, 312}quality

[testenv]
allowlist_externals =
touch
deps =
-r requirements/test.txt
commands =
coverage run setup.py test
coverage report
allowlist_externals =
touch
deps =
-r requirements/test.txt
commands =
coverage run setup.py test
coverage report

[testenv:quality]
deps =
-r requirements/test.txt
commands =
pycodestyle calc symmath tests
pylint calc symmath tests
deps =
-r requirements/test.txt
commands =
pycodestyle calc symmath tests
pylint calc symmath tests

0 comments on commit 5ae386e

Please sign in to comment.