Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use coveralls #2002

Closed
markroxor opened this issue Mar 27, 2018 · 3 comments · Fixed by #3252
Closed

Use coveralls #2002

markroxor opened this issue Mar 27, 2018 · 3 comments · Fixed by #3252
Assignees
Labels
difficulty easy Easy issue: required small fix feature Issue described a new feature testing Issue related with testing (code, documentation, etc)

Comments

@markroxor
Copy link
Contributor

markroxor commented Mar 27, 2018

While contributing in gensim I felt a need of an automated system which can confirm whether I have written tests corresponding to every line of code I wrote. I propose the immediate use of https://coveralls.io/ for ensuring this.

Here is coveralls in action - https://coveralls.io/github/jellAIfish/omega?branch=master for my own repository.

@menshikh-iv menshikh-iv added feature Issue described a new feature testing Issue related with testing (code, documentation, etc) difficulty easy Easy issue: required small fix labels Mar 27, 2018
@menshikh-iv
Copy link
Contributor

menshikh-iv commented Mar 27, 2018

Thank you @markroxor, it will be really good if you add an instruction (or provide links) how to add it to project.

@markroxor
Copy link
Contributor Author

First you need to link the organization with https://coveralls.io and activate coveralls for your repository.

I am using travis and tox configurations similar to that of gensim with little modifications since they are very efficient.

Here is the tox configuration https://github.com/jellAIfish/omega/blob/master/tox.ini#L22
Here goes the travis config https://github.com/jellAIfish/omega/blob/master/.travis.yml
and the .coveragerc file https://github.com/jellAIfish/omega/blob/master/.coveragerc

@shubham0704
Copy link

An official example is here - https://github.com/codecov/example-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty easy Easy issue: required small fix feature Issue described a new feature testing Issue related with testing (code, documentation, etc)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants