add coverage reports to tests
This commit is contained in:
pare
d32d770888
commit
b993878100
S'han modificat 2 arxius amb 4 adicions i 1 eliminacions
|
@ -8,3 +8,6 @@ all_files = 1
|
||||||
|
|
||||||
[aliases]
|
[aliases]
|
||||||
test=pytest
|
test=pytest
|
||||||
|
|
||||||
|
[tool:pytest]
|
||||||
|
addopts = --cov=mastodon
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ setup(name='Mastodon.py',
|
||||||
description='Python wrapper for the Mastodon API',
|
description='Python wrapper for the Mastodon API',
|
||||||
packages=['mastodon'],
|
packages=['mastodon'],
|
||||||
setup_requires=['pytest-runner'],
|
setup_requires=['pytest-runner'],
|
||||||
tests_require=['pytest'],
|
tests_require=['pytest', 'pytest-cov'],
|
||||||
install_requires=['requests', 'python-dateutil', 'six', 'pytz'],
|
install_requires=['requests', 'python-dateutil', 'six', 'pytz'],
|
||||||
url='https://github.com/halcy/Mastodon.py',
|
url='https://github.com/halcy/Mastodon.py',
|
||||||
author='Lorenz Diener',
|
author='Lorenz Diener',
|
||||||
|
|
Loading…
Referencia en una nova incidència