pyTooling / Actions

Reusable steps and workflows for GitHub Actions
https://pytooling.github.io/Actions/
Other
31 stars 5 forks source link

Support custom (pre-)commands for UnitTest and Coverage #45

Open Paebbels opened 2 years ago

Paebbels commented 2 years ago

In some cases, the test environment needs to be prepared by custom commands.

Allow a user to specify custom commands, that run before main steps in UnitTest or Coverage.


Usecases:

umarcor commented 2 years ago

Since UnitTesting and Coverage workflows have a single job each, it would be feasible to convert the steps into a composite action. Then, users who want to execute pre- or post- steps would write the matrix in their pipeline and call the composite action, instead of consuming the reusable workflow. That would solve #44 as well.

umarcor commented 2 years ago

Is there a demo of which steps would need to be added? I.e., some repo which uses a custom UnitTesting or Coverage workflow, instead of reusing the one from here as-is?