-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rename beaker.yml? #10
Comments
My reasoning was:
Any other thoughts on what would be clearer? |
I think to make more composable workflows they should be broken out into individual files.
Then have an input to chose with acceptance framework to use when calling acceptance. Take it a step further and separate out ruby based and pdk based. Allow user to chose pdk or ruby. I don't know if this is how github actions work and if this is possible. From a software design perspecitive this would be called the adapter or provider pattern. |
Technically speaking you only refer to a filename of the workflow for an action. There are some limitations, like you can't call a workflow inside a matrix, it must happen on the top level of your (real) action and the reusable worfklow must be in You also point to a git reference. We currently have a We also reuse some steps. For example, in our setup step we determine the test matrix based on But to be clear, I'm not opposed to splitting; just that we should continue to provide the complete workflow. Having a minimal action inside the module's repository is the key feature I was after (to minimize modulesyncs). So we would then have:
So a filename may become And to state it explicitly: I've worked hard to make sure README describes how to use it. This crucial IMHO. If we do agree on steps forward, I'd propose we:
Would this make sense? |
So we did start a v2, but didn't make it default yet. Perhaps we should have named it v2-pre. |
The job does more than only beaker tests, should the filename reflect that?
The text was updated successfully, but these errors were encountered: