Skip to content

Commit

Permalink
Adds test coverage reporting, using Codecov.
Browse files Browse the repository at this point in the history
  • Loading branch information
JieYinStat committed Apr 1, 2024
1 parent 86b3d19 commit 2d85926
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
^pkgdown$
^data-raw$
^vignettes/articles$
^codecov\.yml$
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ knitr::opts_chunk$set(
[![R-CMD-check](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml)
[![test-coverage](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml)
[![pkgdown](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml)
[![Codecov test coverage](https://codecov.io/gh/JieYinStat/dbsubsampling/branch/master/graph/badge.svg)](https://app.codecov.io/gh/JieYinStat/dbsubsampling?branch=master)
<!-- badges: end -->

Providing a unified interface for IBOSS, Lowcon, OSS and other popular design-based subsampling methods.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
[![R-CMD-check](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml)
[![test-coverage](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml)
[![pkgdown](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml)
[![Codecov test
coverage](https://codecov.io/gh/JieYinStat/dbsubsampling/branch/master/graph/badge.svg)](https://app.codecov.io/gh/JieYinStat/dbsubsampling?branch=master)
<!-- badges: end -->

Providing a unified interface for IBOSS, Lowcon, OSS and other popular
Expand Down
14 changes: 14 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
comment: false

coverage:
status:
project:
default:
target: auto
threshold: 1%
informational: true
patch:
default:
target: auto
threshold: 1%
informational: true

0 comments on commit 2d85926

Please sign in to comment.