diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83a5a251b..0861c2ca8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,12 +107,15 @@ build: expire_in: 1 day paths: - vendor/ + - var/translations/ code_style: stage: Tests image: chill/base-image:8.3-edge script: - php-cs-fixer fix --dry-run -v --show-progress=none + dependencies: + - build cache: paths: - .cache/ @@ -130,6 +133,8 @@ phpstan_tests: - bin/console cache:clear --env=dev script: - composer exec phpstan -- analyze --memory-limit=3G + dependencies: + - build cache: paths: - .cache/ @@ -145,6 +150,8 @@ rector_tests: - bin/console cache:clear --env=dev script: - composer exec rector -- process --dry-run + dependencies: + - build cache: paths: - .cache/ @@ -163,6 +170,8 @@ lint: script: - yarn install --ignore-optional - npx eslint-baseline "src/**/*.{js,ts,vue}" + dependencies: + - build cache: paths: - node_modules/ @@ -183,6 +192,8 @@ vue_tsc: - yarn vue-tsc --noEmit > vue-tsc-report.txt 2>&1 || true - cat vue-tsc-report.txt - grep -q "error" vue-tsc-report.txt && exit 2 || exit 0 + dependencies: + - build cache: paths: - node_modules/ @@ -216,6 +227,8 @@ unit_tests: - php bin/console doctrine:fixtures:load -n --env=test script: - composer exec phpunit -- --colors=never --exclude-group dbIntensive,openstack-integration + dependencies: + - build artifacts: expire_in: 1 day paths: