Repository navigation
CI: use the Joomla matrix of the plugin repository - #24
Merged
Merged
Conversation
The integration job had a matrix of its own (Joomla 5.4.8, 6.1.3), which fell behind when the plugin repository moved its matrix into tests/ci/matrix.json and began to raise it automatically. A first job now chooses the plugin branch, as the integration jobs did before, and reads the matrix from that checkout, so both repositories test the same combinations and the matrix is maintained in one place. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFJFMQjNKE7oxxSjxXsRiQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The integration job had a hardcoded matrix (Joomla 5.4.8 / 6.1.3, 4 combinations), which fell behind when codeling/bfstop moved its matrix into
tests/ci/matrix.jsonand started raising it automatically (now 5.4.10, 6.1.4, 6.2.0; 9 combinations).A new
matrixjob inci.yml:main, elsemain), once, instead of inside every integration job;tests/ciof that branch and readstests/ci/matrix.json.The
integrationjob takes both the matrix and the branch from it, so the matrix and the plugin code under test always come from the same checkout. There is now one matrix, maintained in the plugin repository (wherejoomla-versions.ymlraises it and the lint checks the checksums).Notes
mainuntil this is merged).Checks
php tests/lint/check-workflows.php(all actions pinned)jqexpression yields the plugin's matrix.Generated by Claude Code