synapse guest module: generate coverage report
This commit is contained in:
@@ -29,6 +29,7 @@ dev =
|
|||||||
tox
|
tox
|
||||||
twisted
|
twisted
|
||||||
aiounittest
|
aiounittest
|
||||||
|
coverage
|
||||||
# for type checking
|
# for type checking
|
||||||
mypy == 1.10.0
|
mypy == 1.10.0
|
||||||
pydantic == 2.4.2
|
pydantic == 2.4.2
|
||||||
@@ -38,6 +39,11 @@ dev =
|
|||||||
isort == 5.9.3
|
isort == 5.9.3
|
||||||
|
|
||||||
|
|
||||||
|
[coverage:run]
|
||||||
|
relative_files = True
|
||||||
|
branch = True
|
||||||
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
|
# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
|
||||||
# for error codes. The ones we ignore are:
|
# for error codes. The ones we ignore are:
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ isolated_build = true
|
|||||||
extras = dev
|
extras = dev
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
python -m twisted.trial tests
|
coverage run -m twisted.trial tests
|
||||||
|
coverage xml
|
||||||
|
|
||||||
[testenv:check_codestyle]
|
[testenv:check_codestyle]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user