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

[CI] Test ux.symfony.com with local UX packages #2063

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Aug 14, 2024

Q A
Bug fix? no
New feature? no
Issues Fix #...
License MIT

Following #1965 and #2060, I was a bit surprised to see ux.symfony.com tests were executed with UX packages coming from 2.x branch, instead of UX packages from the same PR.

I believe doing this could help us for the future and prevent some regressions.

I've updated the script .github/build-packages.php to automatically replaces all UX packages requires(-dev) from all significant composer.json files from the repo:
image

@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Aug 14, 2024
@Kocal Kocal force-pushed the ci/ux-symfony-com-real-ux-packages branch 10 times, most recently from 354456d to dc0796a Compare August 14, 2024 08:35
@Kocal Kocal added the DX label Aug 14, 2024
@Kocal Kocal force-pushed the ci/ux-symfony-com-real-ux-packages branch 5 times, most recently from d29c52c to 58d1d20 Compare August 14, 2024 08:50
@smnandre
Copy link
Member

I think we need both (one to check all components with their "current dev version"... but also one like before, to simulate if aa user checks @dev with stable components), no ?

(not for the ux website probably, but the build package is used for all tests right ? )

@Kocal
Copy link
Member Author

Kocal commented Aug 14, 2024

I think we need both (one to check all components with their "current dev version"... but also one like before, to simulate if aa user checks @dev with stable components), no ?

Nothing changed here, packages tests are still running like before (by using the "local" packages).

This same behaviour has been applied to ux.symfony.com project to take advantage of installing (and testing a bit) our UX packages in a real application.

@kbond kbond force-pushed the ci/ux-symfony-com-real-ux-packages branch from 58d1d20 to 1386749 Compare August 14, 2024 14:11
@kbond
Copy link
Member

kbond commented Aug 14, 2024

Thanks Hugo.

@kbond kbond merged commit 90c390b into symfony:2.x Aug 14, 2024
6 of 8 checks passed
@Kocal Kocal deleted the ci/ux-symfony-com-real-ux-packages branch August 14, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants