Repository navigation
[CI] Run each package's tests in its own job - #418
Merged
Merged
Conversation
loic425
force-pushed
the
ci/split-tests-per-package
branch
from
November 24, 2026 15:10
9de88e0 to
1191674
Compare
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.
Today, one CI job per PHP/Symfony combination runs the app tests, then installs and tests every package one after the other. A failing package hides the next ones, and you have to open the log to know which package broke.
This PR splits the workflow:
static-checkskeeps the app checks and tests only (ECS, PHPStan, container lint, PHPUnit, French translations suite);packagesjob runs PHPUnit for each package × PHP/Symfony combination (same 5 combinations as before), insrc/<Package>, with its own Composer cache. The ShadcnAdminUi assets are built only for that package;composer update, since theirpackage.jsonpoints at assets invendor/.Jobs now run in parallel and are named after the package, e.g.
TwigHooks / PHP 8.3 / Symfony ^7.4.If some checks are required in the branch protection rules, they need to be updated with the new job names.