Skip to content

Remove codecov coverage targets. #8491

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

Merged
merged 1 commit into from
Apr 20, 2017

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Apr 15, 2017

As mentioned in the conversation starting at

https://gitter.im/matplotlib/matplotlib?at=58eed50a69a692963ea5e238

codecov seems to be failing PR builds on the basis of incorrectly
computed coverage deltas. This PR sets the required coverage values to
zero, so that the coverage is still computed but does not affect build
anymore.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/whats_new.rst if major new feature
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

tests:
target: 97.9%
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely leave this one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

turned it into "auto", i.e. "greater than the previous value" (97.9 seems to come a bit out of nowhere)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 97.9 was a hand tuned value from looking at the coverage on the tests and being happy that what was missed was ok to miss.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But certainly you don't want it to go down in any case?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto seems to be working well enough.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Apr 16, 2017
@tacaswell
Copy link
Member

attn @dopplershift as (I think) the local code-cov expert.

@anntzer anntzer force-pushed the remove-codecov-targets branch from 6bb5d78 to 3c26e67 Compare April 16, 2017 19:28
@dopplershift
Copy link
Contributor

Why 0% and not 50% so that it flags if something completely crazy happens?

As mentioned in the conversation starting at

https://gitter.im/matplotlib/matplotlib?at=58eed50a69a692963ea5e238

codecov seems to be failing PR builds on the basis of incorrectly
computed coverage deltas.  This PR sets the required coverage values to
50%, so that the coverage is still computed but does not affect build
anymore unless something dramatic happens.
@anntzer anntzer force-pushed the remove-codecov-targets branch from 3c26e67 to 99b3382 Compare April 17, 2017 17:11
@anntzer
Copy link
Contributor Author

anntzer commented Apr 17, 2017

sounds good. changed to 50%.

@dopplershift dopplershift merged commit 4b57759 into matplotlib:master Apr 20, 2017
@anntzer anntzer deleted the remove-codecov-targets branch April 20, 2017 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants