make_github_workflow: Create github action for a given source

Description Usage Arguments

View source: R/utils.R

Description

Makes a github workflow yaml file for a given source to be used as an action to check the data as a github action.

Usage

1
2
3
4
5
make_github_workflow(
  source,
  workflow_path = paste0(".github/workflows/", source, ".yaml"),
  cron = "36 12 * * *"
)

Arguments

source

character_array The name of the class to create the workflow for.

workflow_path

character_array The path to where the workflow file should be saved. Defaults to '.github/workflows/'

cron

character_array the cron time to run the tests, defaults to 36 12 * * *, following the minute, hour, day(month), month and day(week) format.


covidregionaldata documentation built on Feb. 7, 2022, 9:07 a.m.