From eef26f26d4258e17e44182c51aecd33ccdd212f6 Mon Sep 17 00:00:00 2001 From: bluegeek9 <5614-bluegeek9@users.noreply.drupalcode.org> Date: Wed, 4 Oct 2023 22:44:13 +0000 Subject: [PATCH] Issue #3391721 by bluegeek9: drupal-check deprecations --- .gitlab-ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9838dafc..afa4ab81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,22 +64,37 @@ composer: # The 4 validation jobs below are explicit about their artifact. This is not strictly needed # (last wins) but done for demonstration. https://docs.gitlab.com/ee/ci/jobs/job_control.html#fetch-artifacts-from-a-parallelmatrix-job # +drupal-check: + stage: validate + allow_failure: true + dependencies: + - "composer: [8.1, $CORE_STABLE]" + rules: + - if: '$SKIP_DRUPAL_CHECK == "1"' + when: never + - when: on_success + before_script: + - composer require mglaman/drupal-check --dev + script: + - vendor/bin/drupal-check --drupal-root $CI_PROJECT_DIR/$_WEB_ROOT $CI_PROJECT_DIR/$_WEB_ROOT/modules/custom/$CI_PROJECT_NAME phpcs: - # Set allow_failure to false so that the test fails for coding standards faults. allow_failure: false dependencies: - "composer: [8.1, $CORE_STABLE]" composer-lint: + allow_failure: false dependencies: - "composer: [8.1, $CORE_STABLE]" eslint: + allow_failure: false dependencies: - "composer: [8.1, $CORE_STABLE]" stylelint: + allow_failure: false dependencies: - "composer: [8.1, $CORE_STABLE]" -- GitLab