Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🏗Update code coverage status configuration for
amphtml
(#27843)
- Loading branch information
Showing
1 changed file
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,38 @@ | ||
comment: off | ||
# Overall settings for PR integration via codecov.io | ||
# See https://docs.codecov.io/docs/codecovyml-reference | ||
codecov: | ||
bot: 'amp-coverage-bot' | ||
ci: | ||
- 'travis.org' | ||
max_report_age: 24 | ||
require_ci_to_pass: yes | ||
notify: | ||
wait_for_ci: yes | ||
|
||
# Pull request comments disabled because they were too noisy | ||
# See https://docs.codecov.io/docs/pull-request-comments | ||
comment: false | ||
|
||
# Separate PR statuses for project-level and patch-level coverage | ||
# See https://docs.codecov.io/docs/commit-status | ||
coverage: | ||
precision: 2 | ||
round: down | ||
range: '80...100' | ||
status: | ||
project: | ||
default: | ||
base: auto | ||
target: auto | ||
threshold: 100 | ||
if_not_found: success | ||
informational: true # TODO(rsimha): Remove this line after testing | ||
only_pulls: true | ||
target: 80% | ||
threshold: 10% | ||
patch: | ||
default: | ||
base: auto | ||
target: 100 | ||
threshold: 100 | ||
informational: true # TODO(rsimha): Remove this line after testing | ||
if_not_found: success | ||
only_pulls: true | ||
target: 80% | ||
threshold: 10% |