- Install gitlab-ci-local
Add alias
alias drupal-ci-local='gitlab-ci-local --remote-variables git@git.drupal.org:project/gitlab_templates=includes/include.drupalci.variables.yml=main --variable="_GITLAB_TEMPLATES_REPO=project/gitlab_templates"'- Clone module via git
- Go to directory
- Run git status, check branch
- Check .gitlab-ci.yml
If you need only some tasks (e.g. phpunit) add variables
variables: SKIP_ESLINT: '1' SKIP_CSPELL: '1' SKIP_PHPCS: '1' SKIP_PHPSTAN: '1' SKIP_STYLELINT: '1' SKIP_COMPOSER_LINT: '1'- Run drupal-ci-local