Skip to content

Commit

Permalink
update GitHub/TOX testing
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed May 28, 2024
1 parent 77265b7 commit d9023ee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

fail-fast: false

steps:
- uses: actions/checkout@v2
Expand All @@ -27,5 +29,5 @@ jobs:
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Run tests
- name: Run Tox
run: tox
16 changes: 11 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
[tox]
distribute = False
envlist =
py{37,38,39}-django{22,30,31,32}{-svg,}
py310-django{32,40,41}{-svg,}
py{36,37,38,39,310}-django32{-svg,}
py{38,39,310,311}-django40{-svg,}
py{38,39,310,311}-django41{-svg,}
py{38,39,310,311,312}-django42{-svg,}
py{310,311,312}-django50{-svg,}
skip_missing_interpreters = True

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
setenv =
Expand All @@ -19,14 +25,14 @@ usedevelop = True
extras =
svg: svg
deps =
django22: Django<2.3
django30: Django<3.1
django31: Django<3.2
django32: Django<3.3
django40: Django<4.1
django41: Django<4.2
django42: Django<4.3
django50: Django<5.1
testfixtures
commands =
python -Wd {envbindir}/django-admin test {posargs}
ignore_outcome =
djangomain: true

0 comments on commit d9023ee

Please sign in to comment.