Skip to content

Commit 86c3da1

Browse files
Drop coverage from tests
To my knowledge, we've never looked at or done anything with this output. Test coverage is a noble goal, but this project is mostly complete, so we don't expect heavy development soon. Requested-by: Petr Viktorin <pviktori@redhat.com> Signed-off-by: Robbie Harwood <rharwood@redhat.com>
1 parent 0c46921 commit 86c3da1

5 files changed

Lines changed: 3 additions & 37 deletions

File tree

.coveragerc

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
*.pyc
22
__pycache__
3-
/.coverage
43
/.tox
54
/dist
65
/build
76
/MANIFEST
87
/*.egg-info
98
/.cache
10-
/.coverage.*

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ include README COPYING
22
include tox.ini
33
include setup.cfg
44
include tests.py tests.krb5.conf
5-
include .coveragerc

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
]
3030

3131
extras_require = {
32-
"tests": ["pytest", "coverage", "WebTest"],
32+
"tests": ["pytest", "WebTest"],
3333
"test_pep8": ['flake8', 'flake8-import-order', 'pep8-naming']
3434
}
3535

tox.ini

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
[tox]
22
minversion = 2.3.1
3-
envlist = py36,py37,py38,py39,pep8,py3pep8,doc,coverage-report
3+
envlist = py36,py37,py38,py39,pep8,py3pep8,doc
44
skip_missing_interpreters = true
55

66
[testenv]
77
deps =
88
.[tests]
99
commands =
10-
{envpython} -m coverage run --parallel \
11-
-m pytest --capture=no --strict {posargs}
12-
13-
[testenv:coverage-report]
14-
deps = coverage
15-
skip_install = true
16-
commands =
17-
{envpython} -m coverage combine
18-
{envpython} -m coverage report --show-missing
10+
{envpython} -m pytest --capture=no --strict {posargs}
1911

2012
[testenv:pep8]
2113
basepython = python3

0 commit comments

Comments
 (0)