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
Github actions do not provide a template with a list of steps but provide reusable workflows. A reusable workflow could live in the same repository but also in another public repository on GitHub.
Some time ago there was a problem with GabrielBB/xvfb-action that stop working on the windows host after the runner update. Solving this issue need multiple PR to different repositories. Using reusable workflows allows performing fixes in one repository that will store this action.
Limitations:
people using such action cannot add any step
you cannot pass any environment variable inside the test
matrix could live only inside the reusable workflow.
But two first limitations may be used to increase the quality of plugins.
Problem with matrix could be workaround using fromJson(inputs.variable)
Github actions do not provide a template with a list of steps but provide reusable workflows. A reusable workflow could live in the same repository but also in another public repository on GitHub.
Some time ago there was a problem with
GabrielBB/xvfb-action
that stop working on the windows host after the runner update. Solving this issue need multiple PR to different repositories. Using reusable workflows allows performing fixes in one repository that will store this action.Limitations:
But two first limitations may be used to increase the quality of plugins.
Problem with matrix could be workaround using
fromJson(inputs.variable)
A simple reusable workflow could look like this:
And its usage could look like
The longer example with code coverage, using test data (downloaded in previous steep), etc could be found here: https://github.com/4DNucleome/PartSeg/blob/c76cc26579a287b42c546a2b9531463723a8b90d/.github/workflows/base_test_workflow.yml
The text was updated successfully, but these errors were encountered: