summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-01 12:03:20 +0300
committerAndrew Dolgov <[email protected]>2023-04-01 12:03:20 +0300
commite2a02f1f4be962d7540d206966277b14b5604724 (patch)
treebb52517d055e76de8872404308246d251d5c68d5 /.gitlab-ci.yml
parent00d2cb0f93bca1dd784f37ef1800ab6ba325c4c6 (diff)
add some manual job triggers
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
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