From 8b129417dfb307aef18993130a210c08e2ccdfae Mon Sep 17 00:00:00 2001 From: Boris Waaub Date: Wed, 4 Feb 2026 15:56:16 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20d=C3=A9pendances=20au=20job=20de?= =?UTF-8?q?=20build=20pour=20les=20=C3=A9tapes=20de=20tests=20et=20mise=20?= =?UTF-8?q?=C3=A0=20jour=20du=20cache=20pour=20inclure=20les=20traductions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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: