Skip to content

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 2117973 commit 1229066
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 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: [ py38, quality ]
- ubuntu-20.04
python-version: [3.8, '3.8', '3.12']
toxenv: [py38, quality, django42]
steps:
- uses: actions/checkout@v2
- name: setup python
Expand Down
17 changes: 9 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[tox]
envlist = py38,quality
envlist = py{38, 312}quality

[testenv]
deps =
-r{toxinidir}/requirements/test.txt
commands =
coverage run -m pytest ccx_keys/tests
coverage report -m
coverage xml
-r{toxinidir}/requirements/test.txt
commands =
coverage run -m pytest ccx_keys/tests
coverage report -m
coverage xml

[testenv:quality]
commands =
pycodestyle --config=.pep8 ccx_keys
pylint --rcfile=pylintrc ccx_keys
pycodestyle --config=.pep8 ccx_keys
pylint --rcfile=pylintrc ccx_keys

0 comments on commit 1229066

Please sign in to comment.