Add composer.json and gitlab-ci file to run linter and other checks on the module

Created on 16 April 2024, 8 months ago
Updated 8 May 2024, 8 months ago

Recommend adding a composer.json file to the module and also add the https://git.drupalcode.org/project/gitlab_templates/-/blob/main/gitlab-c... to the repo. It will run the available checkers on the code base and also tests. Details in https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr... โ†’ .

  1. Create the file manually in a git checkout.
  2. Checkout your project.
  3. Create a new file called .gitlab-ci.yml in the root of the project
  4. Copy in the contents of the template: https://git.drupalcode.org/project/gitlab_templates/-/blob/main/gitlab-c...
  5. Note: You do not need to copy in any of the other 'include' files, GitLab will reference those directly from the template.
  6. Commit and push your changes.
โœจ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States dmundra Eugene, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024