mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-02-28 02:59:40 +00:00
Ajout de dépendances au job de build pour les étapes de tests et mise à jour du cache pour inclure les traductions
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user