From 800fd33d1b046a013f78724a04ef8d53ca40cf6a Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Sat, 23 Jan 2021 16:09:25 +0100 Subject: [PATCH] gitlab-ci-cd/drupal#6 Allow to disable test tasks individually --- examples/build-test-deploy-ansible.yml | 12 ++++++------ test-and-deploy.yml | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/examples/build-test-deploy-ansible.yml b/examples/build-test-deploy-ansible.yml index 53e6a3c..36b8b77 100644 --- a/examples/build-test-deploy-ansible.yml +++ b/examples/build-test-deploy-ansible.yml @@ -34,14 +34,14 @@ Build Theme: Test Code Style: extends: '.codestyle' -#Test PHPUnit: -# extends: '.phpunit' +Test PHPUnit: + extends: '.phpunit' -#Test Behat: -# extends: '.behat' +Test Behat: + extends: '.behat' -#Test Backstop: -# extends: '.backstop' +Test Backstop: + extends: '.backstop' Deploy: extends: '.deployartefact' diff --git a/test-and-deploy.yml b/test-and-deploy.yml index ead296d..7398fc9 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -307,6 +307,7 @@ stages: - $CI_COMMIT_MESSAGE =~ /^Merge tag /i - $CAE - $DISABLE_CI_TESTS + - $DISABLE_CI_TEST_CODESTYLE .phpunit: stage: test @@ -336,6 +337,7 @@ stages: - $CI_COMMIT_MESSAGE =~ /^Merge tag /i - $CAE - $DISABLE_CI_TESTS + - $DISABLE_CI_TEST_PHPUNIT .behat: stage: test @@ -366,6 +368,7 @@ stages: - $CI_COMMIT_MESSAGE =~ /^Merge tag /i - $CAE - $DISABLE_CI_TESTS + - $DISABLE_CI_TEST_BEHAT .backstop: stage: test @@ -391,6 +394,7 @@ stages: - $CI_COMMIT_MESSAGE =~ /^Merge tag /i - $CAE - $DISABLE_CI_TESTS + - $DISABLE_CI_TEST_BACKSTOP .deploy: stage: deploy -- GitLab