feat(tox): add support for aux pos args

This commit is contained in:
Tiara Rodney 2025-06-28 00:30:07 +02:00
parent 6321c3f11b
commit b594ab5b2a
No known key found for this signature in database
GPG key ID: 5F43FAB4FBE5B5EB

View file

@ -43,7 +43,7 @@ deps =
{[testenv]deps}
pytest
commands =
pytest tests/unit --junitxml=test-reports/{env_name}.xml
pytest tests/unit --junitxml=test-reports/{env_name}.xml {posargs}
[testenv:integration-py3{9-13}-sphinx{5-7}]
description = run sphinx 5-7 integration tests
@ -55,7 +55,7 @@ deps =
sphinx7: sphinx>=7.0,<=8.0
pytest
commands =
pytest tests/integration --junitxml=test-reports/{env_name}.xml
pytest tests/integration --junitxml=test-reports/{env_name}.xml {posargs}
[testenv:integration-py3{10-13}-sphinx8]
description = run sphinx 8 integration tests
@ -65,7 +65,7 @@ deps =
sphinx8: sphinx>=8.0,<=9.0
pytest
commands =
pytest tests/integration --junitxml=test-reports/{env_name}.xml
pytest tests/integration --junitxml=test-reports/{env_name}.xml {posargs}
[testenv:integration-py3{10-13}-sphinx{5-8}-pytest8]
description = run pytest 8 testing integration tests (excluding Python 3.9)
@ -78,4 +78,4 @@ deps =
sphinx8: sphinx>=8.0,<=9.0
pytest8: pytest>=8.0,<=9.0
commands =
pytest tests/integration -m pytest --junitxml=test-reports/{env_name}.xml
pytest tests/integration -m pytest --junitxml=test-reports/{env_name}.xml {posargs}