Skip to content

[CI] Auto-discover store bridges with integration tests in CI matrix#1673

Merged
chr-hertel merged 1 commit intosymfony:mainfrom
OskarStark:auto-integration-test-discovery
Feb 26, 2026
Merged

[CI] Auto-discover store bridges with integration tests in CI matrix#1673
chr-hertel merged 1 commit intosymfony:mainfrom
OskarStark:auto-integration-test-discovery

Conversation

@OskarStark
Copy link
Contributor

Q A
Bug fix? no
New feature? no
Docs? no
Issues --
License MIT

Instead of maintaining a hardcoded list of store bridges in the store-bridges-integration job, dynamically detect which bridges have integration tests by scanning for the #[Group('integration')] attribute. This way a new bridge with integration tests is automatically picked up without needing to update the workflow file.

@chr-hertel I need to check if real all of them got caught, lets run the CI, check and only merge if that's the case ⚠️

Instead of maintaining a hardcoded list of store bridges in the
`store-bridges-integration` job, dynamically detect which bridges have
integration tests by scanning for the `#[Group('integration')]` attribute.
This way a new bridge with integration tests is automatically picked up
without needing to update the workflow file.
Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nailed it 👍

@chr-hertel
Copy link
Member

Thank you @OskarStark.

@chr-hertel chr-hertel merged commit 3310cdc into symfony:main Feb 26, 2026
390 checks passed
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