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.ymlwith build, lint, and analyze stages. - Add
phpcs.xml.distto enforce Drupal coding standards. - Add
phpstan.neon.distfor static analysis. - Configure the pipeline to run
phpcsandphpstanon 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.
Issue fork myrest_metatag-3572798
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
Comment #4
sergeydruua commentedComment #6
sergeydruua commented