MarkEdmondson1234 / googleCloudRunner

Easy R scripts on Google Cloud Platform via Cloud Run, Cloud Build and Cloud Scheduler
https://code.markedmondson.me/googleCloudRunner/
Other
81 stars 26 forks source link

Allow cr_setup_test to pass in which tests #129

Closed muschellij2 closed 2 years ago

muschellij2 commented 2 years ago

cr_setup_test() is a great function, but I wonder if it'd be useful to be able to pass in an argument like "all" which sidesteps the menu.

MarkEdmondson1234 commented 2 years ago

Thanks this is in now!

# start the menu for interactive use
cr_setup_test()

# skip menu and run all tests
cr_setup_test("all")

# run just the plumber deployment test
cr_setup_test("plumber")