-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functionality to use matrix strategy. #356
Comments
Hi @mattzcarey, can you detail a bit more about what functionality you'd like to see? I assume that you mean this matrix from the github docs. I confess I have never used that before and may need some help understanding your use case. As always though, you should never be blocked and can use escape hatches to drop down into the yaml level to configure whatever you need. |
Hi @kaizencc We have a set of tests we need to run on all the files in our repo. Ideally we would split up all the files to be tested into chunks and test them in parallel like this as it can take quite a while. Using matrix strategy, as you linked above, seems like the obvious option. However matrix strategy cannot be perfomed on job steps only on jobs themselves and the property In addition I am pretty sure I won't be able to do it with a singular job because we don't want to parallelise the whole workflow inc. dependency checks, build etc. Is there a way to create multiple jobs per workflow pipeline using this library ie. one for the build procedure and a second for testing? Then second job could potentially be parellised using the matrix. I know that was multiple questions in one but I hope that explains our issue. Kind regards, |
Hi @mattzcarey, To answer your first question, To answer your second question, I'm not entirely sure what the situation is, but it should be that each stage gets its own job in the Hopefully that is at least marginally helpful. |
Hi, we are having an issue trying to use the Cypress testing library to run tests. The library lets us run tests in parallel using a matrix. Is there anyway to impliment the matrix in cdk at a job level?
Currently we are resorting to looping over them sequentially, obviously this is not ideal.
Many thanks, Matt
The text was updated successfully, but these errors were encountered: