GitLab CI

Last updated on
4 May 2025

This documentation needs work. See "Help improve this page" in the sidebar.

GitLab CI is available for every project hosted on drupal.org. Its jobs allow to fix most of the issues reviewers would report.

Once it is enabled, you can:

At least, GitLab CI should be used to validate the composer.json file and the project source code. To avoid most of what reported by reviewers, running static code quality helps would help much.

How to enable GitLab CI

Follow what described in How do I get started with GitLab CI? to enable it in your projects. In short, it required adding a .gitlab-ci.yml file following what that documentation page says.

Can I run GitLab CI jobs locally, before making a commit?

It is possible to run GitLab CI jobs locally, following Running GitLab CI tests locally. It requires DDEV, but it make possible to run GitLab jobs before doing any commit.

Help improve this page

Page status: Needs work

You can: