Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Sep 25, 2024
2 parents 90555d4 + 3013968 commit 99c958d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ inputs:
(e.g. {{ secrets.PAT_GITHUB }}) which allows access to private
repositories. Read here for more details:
https://docs.github.com/en/actions/security-guides/automatic-token-authentication.
CODECOV_TOKEN:
description: >
Codecov repository token needed to upload coverage reports.
Providing this token helps prevent report upload failures by bypassing
Codecov's GitHub API rate limits. Read here for more details:
https://docs.codecov.com/docs/adding-the-codecov-token
cache_version:
description: >
Which cache version to use.
Expand Down Expand Up @@ -441,9 +447,13 @@ runs:

- name: 📋 Test coverage
if: inputs.run_covr == 'true' && runner.os == 'Linux'
env:
CODECOV_TOKEN: ${{ inputs.CODECOV_TOKEN }}
run: |
## NOTE: codecov() uses CODECOV_TOKEN env var if specified.
## (recommended)
covr::codecov()
shell: Rscript {0}
shell: Rscript {0}

- name: 🛠 Install package ️
if: inputs.run_pkgdown == 'true' && runner.os == 'Linux'
Expand Down

0 comments on commit 99c958d

Please sign in to comment.