mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-13 11:19:51 +00:00
fix gitlab-ci configuration
This commit is contained in:
parent
d6ff3f422f
commit
5030b67c5d
@ -20,6 +20,7 @@ services:
|
|||||||
|
|
||||||
# Set any variables we need
|
# Set any variables we need
|
||||||
variables:
|
variables:
|
||||||
|
APP_ENV: test
|
||||||
GIT_DEPTH: 1
|
GIT_DEPTH: 1
|
||||||
# Configure postgres environment variables (https://hub.docker.com/r/_/postgres/)
|
# Configure postgres environment variables (https://hub.docker.com/r/_/postgres/)
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
@ -88,7 +89,7 @@ rector_tests:
|
|||||||
stage: Tests
|
stage: Tests
|
||||||
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:php82
|
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:php82
|
||||||
script:
|
script:
|
||||||
- tests/console cache:clear
|
- tests/console cache:clear --env=test
|
||||||
- bin/rector process --dry-run
|
- bin/rector process --dry-run
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
@ -118,7 +119,7 @@ unit_tests:
|
|||||||
- php tests/console doctrine:migrations:migrate -n --env=test
|
- php tests/console doctrine:migrations:migrate -n --env=test
|
||||||
- php tests/console chill:db:sync-views --env=test
|
- php tests/console chill:db:sync-views --env=test
|
||||||
- php -d memory_limit=2G tests/console cache:clear --env=test
|
- php -d memory_limit=2G tests/console cache:clear --env=test
|
||||||
- php -d memory_limit=3G tests/console doctrine:fixtures:load -n
|
- php -d memory_limit=3G tests/console doctrine:fixtures:load -n --env=test
|
||||||
- php -d memory_limit=4G bin/phpunit --colors=never --exclude-group dbIntensive
|
- php -d memory_limit=4G bin/phpunit --colors=never --exclude-group dbIntensive
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 30 min
|
expire_in: 30 min
|
||||||
|
Loading…
x
Reference in New Issue
Block a user