Configuration for messenger - use env=test in ci/step "unit_tests"

This commit is contained in:
Julien Fastré 2023-08-30 14:58:13 +02:00
parent 1c0fd57913
commit 0907d5b76a
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 5 additions and 3 deletions

View File

@ -111,10 +111,9 @@ unit_tests:
# until we fix testes
allow_failure: true
script:
- php tests/console doctrine:migrations:migrate -n
- php -d memory_limit=2G tests/console cache:clear --env=dev
- php -d memory_limit=3G tests/console doctrine:fixtures:load -n
- php tests/console doctrine:migrations:migrate -n --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=4G bin/phpunit --colors=never
artifacts:
expire_in: 30 min

View File

@ -2,3 +2,6 @@ framework:
messenger:
transports:
async: 'in-memory://'
sync: 'in-memory://'
priority: 'in-memory://'
failed: 'in-memory://'