Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support coverage -p #277

Merged
merged 6 commits into from Dec 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions tox.ini
Expand Up @@ -3,7 +3,7 @@ envlist =
{py36,py37}-twisted_lowest,
{pypy3,py36,py37,py38,py39}-twisted_latest,
{pypy3,py36,py37,py38,py39}-twisted_trunk,
towncrier, twine, check-manifest, flake8, docs
twine, check-manifest, flake8, docs, coverage-report
isolated_build = true

[testenv]
Expand All @@ -22,9 +22,8 @@ passenv = TERM # ensure colors
commands =
pip list
python -Wall \
{envbindir}/coverage run \
{envbindir}/coverage run -p \
{envbindir}/trial {posargs:treq}
coverage report -m

[testenv:flake8]
skip_install = True
Expand Down Expand Up @@ -57,6 +56,12 @@ changedir = docs
commands =
sphinx-build -b html . html

[testenv:coverage-report]
depends = pypy3,py36,py37,py38,py39
commands =
coverage combine
coverage report

[flake8]
# This is a minimal Black-compatible config.
# See https://black.readthedocs.io/en/stable/compatible_configs.html#flake8
Expand Down