- Issue created by @tunic
- 🇬🇧United Kingdom jonathan1055
Hi Tunic,
Thanks for raising this. I can see that Image Styles Generator → was created in June 2023 - do you know if you had tests running on DrupalCI before the switch over to Gitlab Pipelines? I recall that DrupalCI had exactly this behaviour and I discussed it with one of the core committers responsible for the testing system. I will try to find that issue.The solution was that any
"require":
dependencies in the submodule should be repeated as"require-dev":
dependencies in the main module. This does not impact the ability to install the main module when those dependencies are not available, but they will be loaded during the test set-up, which is exactly what you want. - 🇪🇸Spain tunic Madrid
No, no module had o tests before, not in Drupal CI but also not in Gitlab CI.
The require-dev seems like a reasonable way to solve this in a simple way without increasing complexity in the GitLab CI testing workflow, I'll try that, thanks!
- 🇪🇸Spain fjgarlin
I agree that the workaround is simple enough to not do anything in the templates. In any case, I am assigning credit as this is a very valid question and an equally good reply/workaround.
- 🇪🇸Spain tunic Madrid
For anyone coming to this issue with the same problem I confirm that
requrie-dev
trick solved the issue.Thanks!