Browse code

Add codecov test coverage

Milan Malfait authored on 17/02/2021 12:01:44
Showing 5 changed files

... ...
@@ -9,3 +9,4 @@
9 9
 ^\.BBSoptions$
10 10
 ^doc$
11 11
 ^Meta$
12
+^codecov\.yml$
... ...
@@ -29,7 +29,8 @@ Suggests:
29 29
     BiocStyle,
30 30
     rmarkdown,
31 31
     ggplot2,
32
-    testthat (>= 3.0.0)
32
+    testthat (>= 3.0.0),
33
+    covr
33 34
 VignetteBuilder: knitr
34 35
 biocViews:
35 36
     Software,
... ...
@@ -18,6 +18,7 @@ knitr::opts_chunk$set(
18 18
 <!-- badges: start -->
19 19
 [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
20 20
 [![R-CMD-check-bioc](https://github.com/sales-lab/spatialDE/workflows/R-CMD-check-bioc/badge.svg)](https://github.com/sales-lab/spatialDE/actions)
21
+[![Codecov test coverage](https://codecov.io/gh/sales-lab/spatialDE/branch/main/graph/badge.svg)](https://codecov.io/gh/sales-lab/spatialDE?branch=main)
21 22
 <!-- badges: end -->
22 23
 
23 24
 The **spatialDE** package provides an R wrapper for the Python SpatialDE library,
... ...
@@ -8,6 +8,8 @@
8 8
 [![Lifecycle:
9 9
 experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
10 10
 [![R-CMD-check-bioc](https://github.com/sales-lab/spatialDE/workflows/R-CMD-check-bioc/badge.svg)](https://github.com/sales-lab/spatialDE/actions)
11
+[![Codecov test
12
+coverage](https://codecov.io/gh/sales-lab/spatialDE/branch/main/graph/badge.svg)](https://codecov.io/gh/sales-lab/spatialDE?branch=main)
11 13
 <!-- badges: end -->
12 14
 
13 15
 The **spatialDE** package provides an R wrapper for the Python SpatialDE
14 16
new file mode 100644
... ...
@@ -0,0 +1,14 @@
1
+comment: false
2
+
3
+coverage:
4
+  status:
5
+    project:
6
+      default:
7
+        target: auto
8
+        threshold: 1%
9
+        informational: true
10
+    patch:
11
+      default:
12
+        target: auto
13
+        threshold: 1%
14
+        informational: true