-
Notifications
You must be signed in to change notification settings - Fork 8
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
Change the tests to use require --dev #295
Comments
Hi @stephen-cox this also might be the same reason https://github.com/localgovdrupal/localgov_project/actions/runs/6402689252/job/17379803668 tests are now failing as it's not installing the group require-dev dependency of alert banner |
I'm trying to understand why this happens. When we run:
Do we expect composer to install the require-dev dependencies of all child packages? Locally it does not seem to do so. I do not have group module for example which is now in require-dev. https://github.com/localgovdrupal/localgov_alert_banner/blob/1.x/composer.json#L13 Might it be that composer only installs the require-dev from the root composer.json? |
Sounds like that is what happens.
|
@finnlewis does that mean that for this module and any others we need to add them as a require-dev dependency to the root composer.json for the project? |
Currently the tests install the composer suggest dependencies, but should really use the dev dependencies that are needed to run the tests, so we make sure that the correct dependencies are added to require-dev.
The text was updated successfully, but these errors were encountered: