Tweak .codedoc.yml to make it more useful #71

Merged
merged 8 commits into from Feb 14, 2017

Projects

None yet

5 participants

Member

No description provided.

.codecov.yml
- default:
- threshold: 0.01
+ only_pulls: true
+ paths:
briancurtin
briancurtin Feb 13, 2017 Member

I'm guessing this means it only ends up being run for those directories, right? If so, that's good that it avoids being run on, e.g., Doc/* changes, but shouldn't it also run on directories like Objects/?

berkerpeksag
berkerpeksag Feb 13, 2017 Member

I'm guessing this means it only ends up being run for those directories, right?

Correct.

[...] but shouldn't it also run on directories like Objects/?

Good point. I'm reading docs again so I hopefully will have an answer :)

berkerpeksag
berkerpeksag Feb 13, 2017 Member

According to https://docs.codecov.io/docs/commit-status#section-patch-status, we don't need to add specific directories. It should only look for the changes in PR.

We can also add directories to ignore: https://docs.codecov.io/docs/ignoring-paths

@briancurtin

This seems ok from what I understand of the docs (particularly the coverage/status/{changes|project} part), but I'd prefer to leave it to another set of eyes to approve.

+ - "Mac/**/*"
+ - "PC/**/*"
+ - "PCbuild/**/*"
+ - "Tools/**/*"
brettcannon
brettcannon Feb 13, 2017 Owner

Probably should add the Grammar directory.

berkerpeksag
berkerpeksag Feb 13, 2017 Member

Good catch, done.

Owner

LGTM. If you can pass it through Codecov's verification tool at https://docs.codecov.io/docs/codecov-yaml#section-validate-your-repository-yaml that would be great.

Member

Thanks for the review!

If you can pass it through Codecov's verification tool at https://docs.codecov.io/docs/codecov-yaml#section-validate-your-repository-yaml that would be great.

$ curl -XPOST --data-binary @.codecov.yml https://codecov.io/validate
Valid!

# Pretty-printed version of the configuration below
Owner

Then I say merge it and let python-dev (or -committers; wherever @haypo emailed) know about the requisite change.

@berkerpeksag berkerpeksag merged commit 22ba52b into python:master Feb 14, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@berkerpeksag berkerpeksag deleted the berkerpeksag:tweak-codecov branch Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment