Contrib modules can now use GitLab CI for testing.
Instructions for setting up and opt-in are on #3261803: Using GitLab CI instead of Drupal CI
| Comment | File | Size | Author |
|---|
Issue fork scheduler-3356800
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:
- 3356800-templates
compare
- 3356800-cspell
compare
- 3356800-phpunit
compare
- 3356800-docs
compare
- 3356800-phpstan
compare
- 3356800-with-extras
compare
- 3356800-fail-all-standards
compare
- 3356800-pipeline-rules-in-mr-or-on-commit
changes, plain diff MR !284 /
changes, plain diff MR !248
- 3356800-test-only-changes
changes, plain diff MR !276 /
changes, plain diff MR !255
- 3356800-nightwatch
changes, plain diff MR !192
- 3356800-eslint
changes, plain diff MR !193
Comments
Comment #4
jonathan1055 commentedAdded the .gitlab-ci.yml from the template and we have our The first pipeline run. It was not very sucessful, as six of the seven jobs failed :-) The only one that passed was
variable-checkswhich just echos some system variables.The Composer job failed with a surprising error that I don't understand:
Everything else failed for various reasons, for example
vendor/bin/phpcs: No such file or directoryanderror Directory "/builds/project/scheduler/web/core" doesn't exist... most likely due to this first step failing.Also there appears to be only one dependency link. I'm not sure what that means though. If the composer job is critical, then maybe all the other jobs should depend on it?

Comment #6
jonathan1055 commentedThat's an improvement. The subsequent jobs are skipped if the Composer job fails

Comment #7
jonathan1055 commentedhttps://git.drupalcode.org/project/gitlab_templates/-/merge_requests/11 has been committed, so Scheduler's modification is now removed.
Comment #8
jonathan1055 commentedWould be useful to be able to test the GitLab-CI pipelines without having to push to a MR and have all the noise above.
#3358806: Rename phpcs.xml.dist to phpcs.xml in preparation for GitLabCI fixes the PHPCS problem.
Comment #16
jonathan1055 commentedTest via patch
Comment #19
jonathan1055 commentedGitlab testing is now fully implemented for Scheduler 2.x and 8.x-1.x so this issue can be closed.
#3387331: Add GitLab CI testing on 7.x is also complete.
Comment #34
mondrake@jonathan1055 I made a commit to MR!194 that gets it at what you were looking for (I assume)