From 32cda32e01ded8d0e2f2a6a6b46aa259d989608e Mon Sep 17 00:00:00 2001 From: Yuhang Shi Date: Tue, 14 Nov 2023 21:42:54 +0800 Subject: [PATCH] docs: add codecov badges (#146) Signed-off-by: Yuhang Shi --- codecov.yml | 16 +--------------- packages/csharp/README.md | 1 + packages/kotlin/README.md | 2 +- packages/nodejs/README.md | 1 + packages/rust-core/README.md | 1 + 5 files changed, 5 insertions(+), 16 deletions(-) diff --git a/codecov.yml b/codecov.yml index d0fb1342..1032e02d 100644 --- a/codecov.yml +++ b/codecov.yml @@ -4,21 +4,7 @@ flag_management: coverage: status: patch: off - project: - default: - target: auto - nodejs: - target: auto - flags: - - nodejs - kotlin: - target: auto - flags: - - kotlin - csharp: - target: auto - flags: - - csharp + project: off flags: rust: paths: diff --git a/packages/csharp/README.md b/packages/csharp/README.md index 6ceb3d91..512c5833 100644 --- a/packages/csharp/README.md +++ b/packages/csharp/README.md @@ -3,6 +3,7 @@ [![License](https://img.shields.io/github/license/pleisto/flappy)](../../LICENSE) [![NuGet version (Pleisto.Flappy)](https://img.shields.io/nuget/v/Pleisto.Flappy.svg?style=flat-square)](https://www.nuget.org/packages/Pleisto.Flappy/) [![CI](https://img.shields.io/github/actions/workflow/status/pleisto/flappy/csharp-ci.yml.svg)](https://github.com/pleisto/flappy/actions/workflows/csharp-ci.yml) +[![codecov](https://codecov.io/gh/pleisto/flappy/graph/badge.svg?token=8C94YY3KBD&flag=csharp)](https://codecov.io/gh/pleisto/flappy) This package is the CSharp version of the flappy implementation. diff --git a/packages/kotlin/README.md b/packages/kotlin/README.md index 17653dc4..bec85ad9 100644 --- a/packages/kotlin/README.md +++ b/packages/kotlin/README.md @@ -8,7 +8,7 @@ This package is the Kotlin version of the flappy implementation. [![CI](https://img.shields.io/github/actions/workflow/status/pleisto/flappy/kotlin-ci.yml.svg)](https://github.com/pleisto/flappy/actions/workflows/kotlin-ci.yml) [![Maven metadata URL](https://img.shields.io/maven-metadata/v.svg?metadataUrl=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2Fcom%2Fpleisto%2Fflappy%2Fmaven-metadata.xml&color=blue)](https://central.sonatype.com/artifact/com.pleisto/flappy) [![Documentation](https://javadoc.io/badge/com.pleisto/flappy.svg)](https://javadoc.io/doc/com.pleisto/flappy) -[![codecov](https://codecov.io/gh/pleisto/flappy/graph/badge.svg?token=8C94YY3KBD)](https://codecov.io/gh/pleisto/flappy) +[![codecov](https://codecov.io/gh/pleisto/flappy/graph/badge.svg?token=8C94YY3KBD&flag=kotlin)](https://codecov.io/gh/pleisto/flappy) [Install](#installation) • [Usage](#usage) • diff --git a/packages/nodejs/README.md b/packages/nodejs/README.md index e897d2a3..4af8d8ef 100644 --- a/packages/nodejs/README.md +++ b/packages/nodejs/README.md @@ -7,6 +7,7 @@ This package is about the Node.js version of the implementation which is written [![License](https://img.shields.io/github/license/pleisto/flappy.svg)](https://raw.githubusercontent.com/pleisto/flappy/main/LICENSE) [![CI](https://img.shields.io/github/actions/workflow/status/pleisto/flappy/nodejs-ci.yml.svg)](https://github.com/pleisto/flappy/actions/workflows/nodejs-ci.yml) [![NPM version](https://img.shields.io/npm/v/%40pleisto/node-flappy/next.svg)](https://npmjs.org/package/@pleisto/node-flappy) +[![codecov](https://codecov.io/gh/pleisto/flappy/graph/badge.svg?token=8C94YY3KBD&flag=nodejs)](https://codecov.io/gh/pleisto/flappy) diff --git a/packages/rust-core/README.md b/packages/rust-core/README.md index eebd1926..5504dfcf 100644 --- a/packages/rust-core/README.md +++ b/packages/rust-core/README.md @@ -4,6 +4,7 @@ [![License](https://img.shields.io/github/license/pleisto/flappy.svg)](https://raw.githubusercontent.com/pleisto/flappy/main/LICENSE) [![CI](https://img.shields.io/github/actions/workflow/status/pleisto/flappy/rust-ci.yml.svg)](https://github.com/pleisto/flappy/actions/workflows/rust-ci.yml) +[![codecov](https://codecov.io/gh/pleisto/flappy/graph/badge.svg?token=8C94YY3KBD&flag=rust)](https://codecov.io/gh/pleisto/flappy)