Skip to content

Commit

Permalink
add codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
qmarcou committed Jun 1, 2024
1 parent 2bb341f commit 9789203
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions R/plot.TPreg.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
autolayer.TPreg <- function() {
# https://stackoverflow.com/a/7099056
# https://ggplot2.tidyverse.org/reference/automatic_plotting.html
return()
}

#' @export
plot.TPreg <-
function(x, covar, rug = TRUE, main, ylab, xlab, Ylim, ...) {
Expand Down
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ knitr::opts_chunk$set(
<!-- badges: start -->
[![Lifecycle Status](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![Tests](https://github.com/qmarcou/netidmtpreg/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/qmarcou/netidmtpreg/actions/workflows/test-coverage.yaml)
[![codecov](https://codecov.io/gh/qmarcou/netidmtpreg/graph/badge.svg?token=BMMMFGO30V)](https://codecov.io/gh/qmarcou/netidmtpreg)
[![R-CMD-check](https://github.com/qmarcou/netidmtpreg/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/qmarcou/netidmtpreg/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[![Lifecycle
Status](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![Tests](https://github.com/qmarcou/netidmtpreg/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/qmarcou/netidmtpreg/actions/workflows/test-coverage.yaml)
[![codecov](https://codecov.io/gh/qmarcou/netidmtpreg/graph/badge.svg?token=BMMMFGO30V)](https://codecov.io/gh/qmarcou/netidmtpreg)
[![R-CMD-check](https://github.com/qmarcou/netidmtpreg/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/qmarcou/netidmtpreg/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

Expand Down

0 comments on commit 9789203

Please sign in to comment.