Skip to content

Commit

Permalink
added codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
rajitachandak committed Aug 26, 2024
1 parent 23b3757 commit 8aa8b26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: CI
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

on:
push:
Expand All @@ -24,7 +26,7 @@ jobs:
- run: mkdir R_packages/
- run: Rscript -e 'install.packages(c("Matrix", "Rcpp", "ggplot2", "purrr", "MASS", "mvtnorm", "combinat", "stats", "covr", "testthat", "devtools", "spam", "roxygen2", "Rdpack", "RcppArmadillo"), lib="./R_packages/")'
- run: cd R/lpcde/ && Rscript -e '.libPaths("../../R_packages/"); library(covr); cov = package_coverage(); to_cobertura(cov)'
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
files: ./R/lpcde/cobertura.xml
fail_ci_if_error: true
Expand Down

0 comments on commit 8aa8b26

Please sign in to comment.