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

Make coverall results advisory and not report as failure #406

Closed
jlewi opened this issue Feb 24, 2018 · 6 comments
Closed

Make coverall results advisory and not report as failure #406

jlewi opened this issue Feb 24, 2018 · 6 comments

Comments

@jlewi
Copy link
Contributor

jlewi commented Feb 24, 2018

Right now if test coverage decreases (even slightly) coveralls reports this as a failure and the PR is marked as having failures.

I find this distracting in that it makes it harder to see which PRs are ready to review/merge.

Can we make coveralls advisory so that it reports test coverage results to GitHub but doesn't report a failure if there is a decrease?

@gaocegege
Copy link
Member

I tried but I have no access to the settings, you could update it in https://coveralls.io/github/kubeflow/tf-operator/settings.

default

@jlewi
Copy link
Contributor Author

jlewi commented Feb 25, 2018

I changed coverage decrease threshold for failure to 20%.

What is the coverage threshold for failure?

@gaocegege
Copy link
Member

If we set coverage threshold to 20%, and our code coverage is 19%, then it will report a failure.

If we set coverage decrease threshold to 20%, and one PR decrease the coverage from 100% to 79%, then it will report a failure.

Then I think we could set all these two to 20%

@jlewi
Copy link
Contributor Author

jlewi commented Feb 26, 2018

I see, coverage threshold is blank right now. Lets see what happens.

@jlewi
Copy link
Contributor Author

jlewi commented Feb 27, 2018

Coveralls is no longer reporting failure see
#403 (comment)

@jlewi jlewi closed this as completed Feb 27, 2018
@PrincewillIroka
Copy link

I reduced both COVERAGE THRESHOLD FOR FAILURE and COVERAGE DECREASE THRESHOLD FOR FAILURE to 0.0% and Coveralls Coverage no longer fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants