From ce15731b7753dd6d296277e03d99ec67eb421d8b Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 25 Nov 2021 20:45:08 -0500 Subject: [PATCH] ci: add codecov to docs, update workflow name (#609) Adds a codecov badge for quick reference. --- .github/workflows/codecov.yml | 5 +++-- README.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 615a6de3..3a4bfc83 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -1,6 +1,7 @@ -# Codecov generation via cargo-tarpaulin. +# Code coverage generation via cargo-tarpaulin, and uploaded to +# codecov. -name: coverage +name: codecov on: workflow_dispatch: diff --git a/README.md b/README.md index 5e97fda7..01624577 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [crates.io link](https://crates.io/crates/bottom) [Nightly documentation](https://clementtsang.github.io/bottom/nightly) [Stable documentation](https://clementtsang.github.io/bottom/stable) +[![codecov](https://codecov.io/gh/ClementTsang/bottom/branch/master/graph/badge.svg?token=IDD43CO0FP)](https://codecov.io/gh/ClementTsang/bottom) A cross-platform graphical process/system monitor with a customizable interface and a multitude of features. Supports Linux, macOS, and Windows. Inspired by [gtop](https://github.com/aksakalli/gtop), [gotop](https://github.com/xxxserxxx/gotop), and [htop](https://github.com/htop-dev/htop/).