From e2a02f1f4be962d7540d206966277b14b5604724 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Apr 2023 12:03:20 +0300 Subject: [PATCH] add some manual job triggers --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3eab5f5da..a91a4bf2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,6 +60,9 @@ phpunit: changes: - '**/*.php' - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_COMMIT_BRANCH + when: manual + allow_failure: true script: - php81 ./vendor/bin/phpunit @@ -72,6 +75,9 @@ eslint: changes: - '**/*.js' - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_COMMIT_BRANCH + when: manual + allow_failure: true script: - npm install - npx eslint js plugins @@ -85,6 +91,9 @@ phpstan: changes: - '**/*.php' - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_COMMIT_BRANCH + when: manual + allow_failure: true script: - php81 -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G