Test on drupal.org - installing dev dependencies.
We started adding .gitlab-ci.yml to drupal.org for testing here:
https://git.drupalcode.org/project/localgov_page_components/-/blob/1.x/.gitlab-ci.yml?ref_type=heads
It became apparent that we want to replicate the behaviour we have from out github testing runners, where @Adnan-cds scripted a neat step that installs the dev dependencies from composer.json.
See that here https://github.com/localgovdrupal/localgov_shared_workflows/blob/1.x/.github/workflows/test-module.yml#L132-L134
We want to work out how to inject the same behaviour to drupal.org gitlab-ci.
@stephen-cox @tonypaulbarker @andybroomfield let's liaise on this here and share any progress.
Cheers folks!
Finn
CC @ekes and @millnut on this one... please see above ^^^
Hi @finnlewis that module doesn't have localgov_paragraphs as a dev depdendency in composer, once that is added GitLab CI will automatically pick it up.
With GitLab CI it's better to define the correct dev dependencies as it does alot of the work for you