Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CODECOV_TOKEN #132

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

HDash
Copy link
Contributor

@HDash HDash commented Aug 10, 2024

Add support for the CODECOV_TOKEN GitHub secret. This input helps prevent coverage report upload failures, which have been quite frequent recently.

Coverage report upload failure error:

Run covr::codecov()
  covr::codecov()
  shell: Rscript {0}
  env:
    RGL_USE_NULL: TRUE
    R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
    RSPM: https://packagemanager.rstudio.com/cran/__linux__/focal/release
    TZ: UTC
    NOT_CRAN: false
Request failed [429]. Retrying in 1 seconds...
Request failed [429]. Retrying in 2.5 seconds...
$detail
[1] "Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1915s."

More information: https://docs.codecov.com/docs/adding-the-codecov-token

This implementation has been successfully tested on MotifPeeker with my fork.

@bschilder bschilder merged commit 3013968 into neurogenomics:master Aug 19, 2024
6 of 9 checks passed
@bschilder
Copy link
Collaborator

Thanks so much for this @HDash !

@bschilder bschilder self-requested a review August 19, 2024 21:43
@bschilder bschilder self-assigned this Aug 19, 2024
@HDash HDash deleted the support_codecov_token branch November 5, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants