aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0ae7375..e53f9d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -203,6 +203,7 @@ phpstan:
CACHE_LOCATION: $CACHE_DIR/phpstan
PHPSTAN_CODE_QUALITY_REPORT: $REPORT_DIR/phpstan-codequality.json
interruptible: true
+ parallel: 2
cache:
- *composer-cache
- key: "$CO_JOB_NAME_SLUG:$CI_COMMIT_REF_SLUG"
@@ -229,6 +230,7 @@ phpstan:
test-unit:
stage: test
needs: [lint-php]
+ parallel: 3
variables:
PHPUNIT_XML_REPORT: $REPORT_DIR/phpunit-report.xml
cache:
@@ -254,6 +256,7 @@ test-jest:
stage: test
needs: [lint-js]
image: $NODE_IMAGE
+ parallel: 3
variables:
JS_TEST_REPORT: $REPORT_DIR/jest.xml
cache: *npm-cache
@@ -270,6 +273,7 @@ test-jest:
test-functional:
stage: test
needs: [lint-php]
+ parallel: 3
variables:
FUNCTIONAL_XML_REPORT: $REPORT_DIR/functional-report.xml
FUNCTIONAL_CODE_QUALITY_REPORT: $REPORT_DIR/functional-codequality.json
@@ -297,6 +301,7 @@ test-functional:
test-jsonapi:
stage: test
needs: [lint-php]
+ parallel: 2
cache:
<<: *composer-cache
policy: pull
@@ -323,6 +328,7 @@ test-assets:
stage: test
needs: []
image: $NODE_IMAGE
+ parallel: 2
cache: *npm-cache
interruptible: true
before_script:
@@ -341,6 +347,7 @@ test-e2e:
PHP_WEBSERVER_URL: localhost:65432
E2E_REPORT: $REPORT_DIR/e2e.xml
interruptible: true
+ parallel: 2
when: manual
cache:
- *composer-cache