HealthCatalyst / healthcareai-py

Python tools for healthcare machine learning
http://healthcare.ai
MIT License
314 stars 188 forks source link

Code coverage service: permissions and github integration #344

Open Aylr opened 7 years ago

Aylr commented 7 years ago

coveralls

mxlei01 commented 7 years ago

An example command I use for coveralls

nosetests --exe -c ../.noserc --with-coverage --cover-inclusive --cover-tests --cover-package=. unit_tests && COVERALLS_REPO_TOKEN= TRAVIS_BRANCH=master BRANCH=master coveralls --rcfile=../.coveragerc

Travis can call this command too, and this will push the data to coveralls.

An example of the .coveragerc file:

[run] omit = /usr/local/lib/ /usr/lib/

source = .

[report] ignore_errors = True