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

MNT Ensure composer/semver installed or skip test #11166

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Mar 3, 2024

Issue silverstripe/.github#207

Fixes https://github.com/silverstripe/silverstripe-installer/actions/runs/8131709640/job/22225347023

1) SilverStripe\Core\Tests\Manifest\VersionProviderTest::testGetModuleVersion Error: Class "Composer\Semver\VersionParser" not found

composer/semver was originally added as require-dev in #11157

Also fixes https://github.com/silverstripe/recipe-core/actions/runs/8110522366/job/22167949864#step:12:162

1) SilverStripe\Core\Tests\Manifest\VersionProviderTest::testGetVersion OutOfBoundsException: Package "silverstripe/siteconfig" is not installed

Which breaks in silverstripe/recipe-core because silverstripe/siteconfig isn't installed - presumably it was erroneously passing before

@emteknetnz emteknetnz force-pushed the pulls/5/check-exists branch from 811be81 to a18fb1b Compare March 3, 2024 23:52
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Makes sense. Wish my brain had thought this far ahead when I was reviewing the original PR... but I guess that's what recipe CI is for 😅

@GuySartorelli GuySartorelli merged commit 054c238 into silverstripe:5 Mar 4, 2024
15 checks passed
@GuySartorelli GuySartorelli deleted the pulls/5/check-exists branch March 4, 2024 02:27
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