-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
testingtesting ghactionstesting ghactions
Milestone
Description
this would be an alternative / addition to #14.
This could be implemented as a "simple" testthat unit test.
- There exist a bunch of boilerplate projects inside of the ghaction repo. (We can use the commonly used starter projects from RStudio for example).
- Once the test gets run:
- the relevant boilerplate projects gets pushed to a (new?) repo on github.com (this might be possible inside of R using the git wrappers from usethis.
- with the currently templated version of
.github/main.workflow. - then the test waits for the github api (via gh::gh) to signal that the repo in question has successfully run through the action (or actually has failed on some of them, that we might also want to test!).
- then the test returns the appropriate condition.
The same test gets run on every commit inside of GitHub actions (meta), though that might require some more git auth.
Also, the tests would have to run in parallel, otherwise this would take too long.
Aaaand we should ask github first whether this violates their TOS, because we're kinda programmatically querying github actions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testingtesting ghactionstesting ghactions