Separate cache:clear from doctrine:fixtures:load in ci

This is an attempt to fix the bug which replace references by NULL
values
This commit is contained in:
Julien Fastré 2021-11-03 11:41:58 +01:00
parent 94e84fbdf0
commit 7a384f9657

View File

@ -15,7 +15,9 @@ before_script:
- curl -sS https://getcomposer.org/installer | php
- php -d memory_limit=2G composer.phar install
- php tests/app/bin/console doctrine:migrations:migrate -n
- php -d memory_limit=2G tests/app/bin/console cache:clear --env=dev
- php -d memory_limit=2G tests/app/bin/console doctrine:fixtures:load -n
- php -d memory_limit=2G tests/app/bin/console cache:clear --env=test
- echo "before_script finished"
# Bring in any services we need http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service