Skip to content
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

feat(generate-matrix): allow generated matrix to follow basic configuration and let github create combinations #667

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

aschwenn
Copy link
Contributor

📝 Description

here, i'm trying to allow the consumer to get back a simpler version of the generated matrix strategy for extensibility.

matrix configurations docs

currently, we're returning an object with an include key that contains a list of objects, each with a path key and a path value. this works for current use cases, but if we wanted to extend the matrix strategy to be able to, for example, run all provisioned paths over maybe some test and control set (maybe we're running all tests on the current node version and all tests on the next?), we could just use an object like { paths: [path1, path2, path3, ...] } instead. here, i'm adding the use_basic_matrix_configuration to return this instead of the current object structure. then, the consuming workflow could add in additional matrix specifications as desired.

🔗 Related Issues

@aschwenn aschwenn requested a review from a team as a code owner September 26, 2024 18:58
@aschwenn aschwenn merged commit d4eb9a1 into main Oct 1, 2024
10 checks passed
@aschwenn aschwenn deleted the use_basic_matrix_configuration branch October 1, 2024 18:18
@eg-oss-ci
Copy link

🎉 This PR is included in version 1.64.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants