Skip to content

Refactoring ci.yml for nested and dynamic matrices#9532

Draft
waghanza with Copilot wants to merge 4 commits into
developfrom
copilot/refactor-ci-yml-for-nested-matrices
Draft

Refactoring ci.yml for nested and dynamic matrices#9532
waghanza with Copilot wants to merge 4 commits into
developfrom
copilot/refactor-ci-yml-for-nested-matrices

Conversation

Copilot AI commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Pull request created by AI Agent

…gine)

- ci.rake: expand matrix to include ALL engines per framework instead of
  only the first one, enabling level2 (engine) nesting
- ci.yml: add hierarchical job name showing language/framework/engine
- Use flat_map to generate one matrix entry per engine per framework
Structure the CI as 3 levels of nested dynamic matrices:
- Level 0 (ci.yml): detect modified files → language matrix
- Level 1 (test-framework.yml): per language → framework matrix
- Level 2 (test-engine.yml): per framework → engine matrix → run tests

Each level dynamically generates the next level's matrix using
rake tasks (ci:languages, ci:frameworks, ci:engines) and calls
a reusable workflow via workflow_call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants