From d3380064a2e4e149ee69e016e96279b1e89257d8 Mon Sep 17 00:00:00 2001 From: eduardklap Date: Sat, 23 Dec 2023 20:51:13 +0100 Subject: [PATCH] add codecov badge --- .Rbuildignore | 1 + README.Rmd | 1 + README.md | 2 ++ codecov.yml | 14 ++++++++++++++ 4 files changed, 18 insertions(+) create mode 100644 codecov.yml diff --git a/.Rbuildignore b/.Rbuildignore index 5f3d199..d35d238 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -3,3 +3,4 @@ ^LICENSE\.md$ ^README\.Rmd$ ^\.github$ +^codecov\.yml$ diff --git a/README.Rmd b/README.Rmd index b3d5f24..d9b7c2e 100644 --- a/README.Rmd +++ b/README.Rmd @@ -17,6 +17,7 @@ knitr::opts_chunk$set( [![R-CMD-check](https://github.com/eduardklap/neuroUp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/eduardklap/neuroUp/actions/workflows/R-CMD-check.yaml) +[![Codecov test coverage](https://codecov.io/gh/eduardklap/neuroUp/branch/main/graph/badge.svg)](https://app.codecov.io/gh/eduardklap/neuroUp?branch=main) ## Overview diff --git a/README.md b/README.md index c7d804b..0fa2b6f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ [![R-CMD-check](https://github.com/eduardklap/neuroUp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/eduardklap/neuroUp/actions/workflows/R-CMD-check.yaml) +[![Codecov test +coverage](https://codecov.io/gh/eduardklap/neuroUp/branch/main/graph/badge.svg)](https://app.codecov.io/gh/eduardklap/neuroUp?branch=main) ## Overview diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..04c5585 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,14 @@ +comment: false + +coverage: + status: + project: + default: + target: auto + threshold: 1% + informational: true + patch: + default: + target: auto + threshold: 1% + informational: true