Skip to content

Commit

Permalink
fix: explicitely pass CODECOV_TOKEN as covr::codecov() parameter
Browse files Browse the repository at this point in the history
- Make the intent of the token explicit.
- That way readers can clearly see that CODECOV_TOKEN in a requirement for `covr::codecov()`.
  • Loading branch information
ALanguillaume authored Apr 11, 2024
1 parent 232d51b commit 4f2a4d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package"),
token = Sys.getenv("CODECOV_TOKEN")
)
shell: Rscript {0}

Expand Down

0 comments on commit 4f2a4d7

Please sign in to comment.