From 382953b5b82042af703d6b8d5f121bc19287f06e Mon Sep 17 00:00:00 2001 From: Cesaire Joris Kuete Fouodo Date: Thu, 18 Jul 2024 20:02:34 +0200 Subject: [PATCH] Add upload instruction --- .github/workflows/R-CMD-check.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index d9d5435..487a37e 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -52,13 +52,14 @@ jobs: upload-snapshots: true build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4.0.1 - with: - verbose: true - name: Run tests run: | Rscript -e 'install.packages("covr");library(covr);package_coverage();covr::codecov(coverage = cov)' env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + verbose: true