Skip to content

Commit

Permalink
🏗Update code coverage status configuration for amphtml (#27843)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha committed Apr 20, 2020
1 parent 30bf0c9 commit b381bef
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions .codecov.yml
@@ -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%

0 comments on commit b381bef

Please sign in to comment.