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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions ci/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ coverage:
status:
patch:
default:
target: '80'
target: 50%
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
project:
default: false
library:
target: auto
target: 50%
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
paths: '!lib/.*/tests/.*'

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.

target: auto
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
paths: 'lib/.*/tests/.*'