Merge pull request #220 from lbryio/add-coverage
Add coverage reporting
This commit is contained in:
commit
72078f4af3
1 changed files with 4 additions and 3 deletions
|
@ -38,9 +38,10 @@ rm get-pip.py
|
||||||
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
pip install mock pylint
|
pip install mock pylint coveralls
|
||||||
trial tests
|
# have to do `which trial` instead of simply trial because coverage needs the full path
|
||||||
# TODO: submit coverage report to coveralls
|
coverage run --source=lbrynet `which trial` tests
|
||||||
|
coveralls
|
||||||
|
|
||||||
# Ignoring distutils because: https://github.com/PyCQA/pylint/issues/73
|
# Ignoring distutils because: https://github.com/PyCQA/pylint/issues/73
|
||||||
# TODO: as code quality improves, make pylint be more strict
|
# TODO: as code quality improves, make pylint be more strict
|
||||||
|
|
Loading…
Reference in a new issue