hubverse-org / hubValidations

Testing framework for hubverse hub validations
https://hubverse-org.github.io/hubValidations/
Other
1 stars 4 forks source link

Create `validate_pr()` function and GA template to run function in CI #24

Closed annakrystalli closed 1 year ago

annakrystalli commented 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

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

Requirements