mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-10 15:29:41 +00:00
Remove unnecessary artifact keys (cache vendor) for phpstan, rector, and phpunit. Use the vendor that was produced and saved in the build step. Dependency on build step added.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# Select what we should cache between builds
|
# Select what we should cache between builds
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- /vendor/
|
- vendor/
|
||||||
- .cache
|
- .cache
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
|
||||||
@@ -75,34 +75,24 @@ code_style:
|
|||||||
phpstan_tests:
|
phpstan_tests:
|
||||||
stage: Tests
|
stage: Tests
|
||||||
image: chill/base-image:8.3-edge
|
image: chill/base-image:8.3-edge
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
variables:
|
variables:
|
||||||
COMPOSER_MEMORY_LIMIT: 3G
|
COMPOSER_MEMORY_LIMIT: 3G
|
||||||
before_script:
|
before_script:
|
||||||
- bin/console cache:clear --env=dev
|
- bin/console cache:clear --env=dev
|
||||||
script:
|
script:
|
||||||
- composer exec phpstan -- analyze --memory-limit=3G
|
- composer exec phpstan -- analyze --memory-limit=3G
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- .cache/
|
|
||||||
artifacts:
|
|
||||||
expire_in: 1 day
|
|
||||||
paths:
|
|
||||||
- vendor/
|
|
||||||
|
|
||||||
rector_tests:
|
rector_tests:
|
||||||
stage: Tests
|
stage: Tests
|
||||||
image: chill/base-image:8.3-edge
|
image: chill/base-image:8.3-edge
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
before_script:
|
before_script:
|
||||||
- bin/console cache:clear --env=dev
|
- bin/console cache:clear --env=dev
|
||||||
script:
|
script:
|
||||||
- composer exec rector -- process --dry-run
|
- composer exec rector -- process --dry-run
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- .cache/
|
|
||||||
artifacts:
|
|
||||||
expire_in: 1 day
|
|
||||||
paths:
|
|
||||||
- vendor/
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
stage: Tests
|
stage: Tests
|
||||||
@@ -133,6 +123,8 @@ lint:
|
|||||||
unit_tests:
|
unit_tests:
|
||||||
stage: Tests
|
stage: Tests
|
||||||
image: chill/base-image:8.3-edge
|
image: chill/base-image:8.3-edge
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
variables:
|
variables:
|
||||||
COMPOSER_MEMORY_LIMIT: 3G
|
COMPOSER_MEMORY_LIMIT: 3G
|
||||||
before_script:
|
before_script:
|
||||||
@@ -143,10 +135,6 @@ unit_tests:
|
|||||||
- php bin/console doctrine:fixtures:load -n --env=test
|
- php bin/console doctrine:fixtures:load -n --env=test
|
||||||
script:
|
script:
|
||||||
- composer exec phpunit -- --colors=never --exclude-group dbIntensive,openstack-integration
|
- composer exec phpunit -- --colors=never --exclude-group dbIntensive,openstack-integration
|
||||||
artifacts:
|
|
||||||
expire_in: 1 day
|
|
||||||
paths:
|
|
||||||
- vendor/
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
stage: Deploy
|
stage: Deploy
|
||||||
|
Reference in New Issue
Block a user