Closed annakrystalli closed 1 year ago
The validate_pr() function will be run when pull requests are made and will be based on: https://github.com/covid19-forecast-hub-europe/HubValidations/blob/main/R/validate_pr.R
validate_pr()
The GitHub Action template that will run the validation function and report back will be based on: https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/blob/main/.github/workflows/Validations-R.yml. We will also need a function to create these pr-validation.yml files following usethis paradigm and based on https://github.com/r-lib/usethis/blob/main/R/github-actions.R or https://usethis.r-lib.org/reference/use_template.html
pr-validation.yml
usethis
use_validation_github_action()
The
validate_pr()
function will be run when pull requests are made and will be based on: https://github.com/covid19-forecast-hub-europe/HubValidations/blob/main/R/validate_pr.RThe GitHub Action template that will run the validation function and report back will be based on: https://github.com/covid19-forecast-hub-europe/covid19-forecast-hub-europe/blob/main/.github/workflows/Validations-R.yml. We will also need a function to create these
pr-validation.yml
files followingusethis
paradigm and based on https://github.com/r-lib/usethis/blob/main/R/github-actions.R or https://usethis.r-lib.org/reference/use_template.htmlRequirements
validate_pr()
use_validation_github_action()
: function for creating GA workflow infrastructure and validate_submission.yaml