chore: update pipeline image

This commit is contained in:
Tiara Rodney 2025-05-25 03:00:59 +02:00
parent 4cbe50253a
commit d7fc6718a9
No known key found for this signature in database
GPG key ID: 5F43FAB4FBE5B5EB
5 changed files with 297 additions and 22 deletions

24
tox.ini
View file

@ -6,7 +6,6 @@ env_list =
py3{8-12}-sphinx{5-8}-{integration}
lint
format
audit
[testenv]
deps =
@ -23,7 +22,7 @@ commands =
[testenv:audit]
description = run type check on code base
labels = static
labels = audit
deps =
pip-audit
commands =
@ -38,15 +37,16 @@ commands =
autopep8 --recursive --diff --exit-code src/
autopep8 --recursive --diff --exit-code tests/
[testenv:py3{8-13}-unit]
[testenv:py3{9-13}-unit]
description = run type check on code base
labels = unit
deps =
{[testenv]deps}
pytest
commands =
python3 -m unittest discover tests/unit
pytest tests/unit --junitxml=test-reports/{env_name}.xml
[testenv:py3{8-13}-sphinx{5-8}-integration]
[testenv:py3{9-13}-sphinx{5-7}-integration]
description = run type check on code base
labels = integration
deps =
@ -54,6 +54,16 @@ deps =
sphinx5: sphinx>=5.0,<=6.0
sphinx6: sphinx>=6.0,<=7.0
sphinx7: sphinx>=7.0,<=8.0
sphinx8: sphinx>=8.0,<=9.0
pytest
commands =
python3 -m unittest discover tests/integration
pytest tests/integration --junitxml=test-reports/{env_name}.xml
[testenv:py3{10-13}-sphinx8-integration]
description = run type check on code base
labels = integration
deps =
{[testenv]deps}
sphinx8: sphinx>=8.0,<=9.0
pytest
commands =
pytest tests/integration --junitxml=test-reports/{env_name}.xml