You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request
I would like to insert a step into a workflow from a test.
I think this syntax would work:
mockSteps: {
"job-name": [
{
before: N, // or after: N,
mockWith: {...}
}
]
}
Additional context
When testing local actions, we need to clone the MockGithub repository, but in production we don't need this and we don't want to create noise in the real executions by doing an if: ... or having a placeholder step to replace with mock.
Workaround
For now I did this:
# "Placeholder for test to hook into."
- id: checkoutrun: |true
Feature request
I would like to insert a step into a workflow from a test.
I think this syntax would work:
Additional context
When testing local actions, we need to clone the MockGithub repository, but in production we don't need this and we don't want to create noise in the real executions by doing an
if: ...
or having a placeholder step to replace with mock.Workaround
For now I did this:
+
Proposed solution
No yaml changes.
+
The text was updated successfully, but these errors were encountered: