Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add python 3.12 support #98

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Loading