Skip to content

Commit

Permalink
Add to this repo the same coverage checks as we have in core repo (#261
Browse files Browse the repository at this point in the history
…) (#292)

Added .codecov.yml, added badge to README.md

**Link to tracking Issue:** 
#261
  • Loading branch information
hanjm authored Jun 9, 2020
1 parent 02f5d4f commit 688a53d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
codecov:
notify:
require_ci_to_pass: yes
strict_yaml_branch: master # only use the latest copy on master branch

coverage:
precision: 2
round: down
range: "80...100"
status:
project:
default:
enabled: yes
target: 79% # This needs to be updated to 85 or higher.
patch:
default:
enabled: yes
target: 95%
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<p align="center">
<a href="https://goreportcard.com/report/github.com/open-telemetry/opentelemetry-collector-contrib">
<img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/open-telemetry/opentelemetry-collector-contrib?style=for-the-badge">
</a>
<a href="https://circleci.com/gh/open-telemetry/opentelemetry-collector-contrib">
<img alt="Build Status" src="https://img.shields.io/circleci/build/github/open-telemetry/opentelemetry-collector-contrib?style=for-the-badge">
</a>
<a href="https://codecov.io/gh/open-telemetry/opentelemetry-collector-contrib/branch/master/">
<img alt="Codecov Status" src="https://img.shields.io/codecov/c/github/open-telemetry/opentelemetry-collector-contrib?style=for-the-badge">
</a>
<a href="releases">
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/open-telemetry/opentelemetry-collector-contrib?include_prereleases&style=for-the-badge">
</a>
</p>

# OpenTelemetry Collector Contrib
This is a repository for OpenTelemetry Collector contributions that are not part of the
[core repository](https://github.com/open-telemetry/opentelemetry-collector) and
Expand Down

0 comments on commit 688a53d

Please sign in to comment.