Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Tweak .codedoc.yml to make it more useful
  • Loading branch information
berkerpeksag committed Feb 13, 2017
commit 8590bb6b2197c23b17d27507ea07eca0c6972272
14 changes: 9 additions & 5 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ codecov:
notify:
require_ci_to_pass: true
comment:
behavior: new
layout: header, diff
require_changes: false
behavior: once
layout: diff
require_changes: true
coverage:
precision: 2
range:
Expand All @@ -13,8 +13,12 @@ coverage:
round: down
status:
changes: false
patch: true
project: true
patch:
only_pulls: true
paths:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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/?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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 :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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

- Lib/*
- Modules/*
project: false
parsers:
gcov:
branch_detection:
Expand Down