Problem/Motivation

To ensure high code quality and compliance with Drupal standards, the module should have an automated CI/CD pipeline. This helps catch coding standard violations and static analysis errors early.

Proposed resolution

  • Add .gitlab-ci.yml with build, lint, and analyze stages.
  • Add phpcs.xml.dist to enforce Drupal coding standards.
  • Add phpstan.neon.dist for static analysis.
  • Configure the pipeline to run phpcs and phpstan on every push.

Remaining tasks

Create and configure the CI files based on myrest_seo templates.

User interface changes

None.

API changes

None.

Data model changes

None.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sergeydruua created an issue. See original summary.

  • sergeydruua committed 6147b9da on 1.0.x
    Issue #3572798: Add CI/CD Pipeline (GitLab CI, PHPCS, PHPStan)
    
sergeydruua’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergeydruua’s picture

Status: Fixed » Closed (fixed)