From cfe7d7c00d177be8f0fb96ae630e2004332a8066 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 26 Feb 2021 13:16:38 -0800 Subject: [PATCH] Add Codecov.io badge for code coverage We find codecov.io generally more useful than coveralls.io, so make it a bit easier to dig into the coverage. We put it second simply because when people think "test coverage" without any other details they (rightly) generally assume line coverage; condition coverage is generally a separate metric. Codecov uses a combined line+condition coverage metric which is pretty nice, but if you are unfamiliar with it it appears like code coverage is lower than it actually is. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 24593f1684..db22e97c7d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ Provider on Android. Please see the [Security Readme](SECURITY.md). [![Join the chat at https://gitter.im/grpc/grpc](https://badges.gitter.im/grpc/grpc.svg)](https://gitter.im/grpc/grpc?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/grpc/grpc-java.svg?branch=master)](https://travis-ci.org/grpc/grpc-java) -[![Coverage Status](https://coveralls.io/repos/grpc/grpc-java/badge.svg?branch=master&service=github)](https://coveralls.io/github/grpc/grpc-java?branch=master) +[![Line Coverage Status](https://coveralls.io/repos/grpc/grpc-java/badge.svg?branch=master&service=github)](https://coveralls.io/github/grpc/grpc-java?branch=master) +[![Branch-adjusted Line Coverage Status](https://codecov.io/gh/grpc/grpc-java/branch/master/graph/badge.svg)](https://codecov.io/gh/grpc/grpc-java) Getting Started ---------------