dirty
This commit is contained in:
parent
19813d4d45
commit
5c2fb8c32b
20 changed files with 371 additions and 22 deletions
28
tox.ini
28
tox.ini
|
|
@ -2,8 +2,9 @@
|
|||
requires =
|
||||
tox>=4.19
|
||||
env_list =
|
||||
py3{8-12}-{unit}
|
||||
py3{8-12}-sphinx{5-8}-{integration}
|
||||
unit-py3{9-13}
|
||||
integration-py3{9-13}-sphinx{5-8}
|
||||
integration-py3{9-13}-sphinx{5-8}-pytest8
|
||||
lint
|
||||
format
|
||||
|
||||
|
|
@ -35,7 +36,7 @@ deps =
|
|||
commands =
|
||||
black --check src tests
|
||||
|
||||
[testenv:py3{9-13}-unit]
|
||||
[testenv:unit-py3{9-13}]
|
||||
description = run type check on code base
|
||||
labels = unit
|
||||
deps =
|
||||
|
|
@ -44,8 +45,8 @@ deps =
|
|||
commands =
|
||||
pytest tests/unit --junitxml=test-reports/{env_name}.xml
|
||||
|
||||
[testenv:py3{9-13}-sphinx{5-7}-integration]
|
||||
description = run type check on code base
|
||||
[testenv:integration-py3{9-13}-sphinx{5-7}]
|
||||
description = run sphinx 5-7 integration tests
|
||||
labels = integration
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
|
|
@ -56,8 +57,8 @@ deps =
|
|||
commands =
|
||||
pytest tests/integration --junitxml=test-reports/{env_name}.xml
|
||||
|
||||
[testenv:py3{10-13}-sphinx8-integration]
|
||||
description = run type check on code base
|
||||
[testenv:integration-py3{10-13}-sphinx8]
|
||||
description = run sphinx 8 integration tests
|
||||
labels = integration
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
|
|
@ -65,3 +66,16 @@ deps =
|
|||
pytest
|
||||
commands =
|
||||
pytest tests/integration --junitxml=test-reports/{env_name}.xml
|
||||
|
||||
[testenv:integration-py3{10-13}-sphinx{5-8}-pytest8]
|
||||
description = run pytest 8 testing integration tests (excluding Python 3.9)
|
||||
labels = integration
|
||||
deps =
|
||||
{[testenv]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
|
||||
pytest8: pytest>=8.0,<=9.0
|
||||
commands =
|
||||
pytest tests/integration -m pytest --junitxml=test-reports/{env_name}.xml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue