Nihilate / Roboragi

Roboragi is a Reddit bot which helps link anime, manga, and other Japanese media.
GNU Affero General Public License v3.0
164 stars 30 forks source link

Add a code coverage report to the CI pipeline #53

Closed Nihilate closed 6 years ago

Nihilate commented 6 years ago

It would be worth adding a code coverage checker to the CI pipeline. Given coverage is so low at the moment, it might be difficult to enable it to fail a build, but I'll investigate some options (maybe to only check new code, or to make sure it doesn't go backwards with a threshold).

reillysiemens commented 6 years ago

Since we already have tests using pytest I'd recommend we use pytest-cov. It's worked quite nicely for me in my own projects and I know it at least plays well with TravisCI/Coveralls.

Nihilate commented 6 years ago

Perfect, that's what I was looking into using as well :)