use test_cached environment

This commit is contained in:
Ferror 2022-04-29 10:43:24 +02:00
parent 8335dbc1f2
commit fc21e98852
4 changed files with 5 additions and 4 deletions

View file

@ -7,7 +7,7 @@ date.timezone=${PHP_DATE_TIMEZONE}
[opcache] [opcache]
opcache.enable=1 opcache.enable=1
opcache.enable_cli=0 opcache.enable_cli=0
opcache.memory_consumption=256 opcache.memory_consumption=512
opcache.max_accelerated_files=32531 opcache.max_accelerated_files=32531
opcache.interned_strings_buffer=8 opcache.interned_strings_buffer=8
opcache.validate_timestamps=0 opcache.validate_timestamps=0

View file

@ -5,7 +5,7 @@ on:
jobs: jobs:
docker-compose: docker-compose:
name: Excute Tests on Docker Compose name: Execute Tests on Docker Compose
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
COMPOSE_FILE: docker-compose.test.yml COMPOSE_FILE: docker-compose.test.yml
@ -18,7 +18,7 @@ jobs:
run: docker-compose run ci run: docker-compose run ci
docker: docker:
name: Excute Tests on Docker Containers name: Execute Tests on Docker Containers
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -

View file

@ -7,6 +7,7 @@ init:
ci: ci:
composer install --no-interaction --no-scripts composer install --no-interaction --no-scripts
composer dump-env $APP_ENV
bin/console sylius:install --no-interaction bin/console sylius:install --no-interaction
bin/console sylius:fixtures:load default --no-interaction bin/console sylius:fixtures:load default --no-interaction
bin/console cache:warmup bin/console cache:warmup

View file

@ -3,7 +3,7 @@ services:
image: sylius/standard:1.11-traditional image: sylius/standard:1.11-traditional
entrypoint: ["make", "ci"] entrypoint: ["make", "ci"]
environment: environment:
APP_ENV: "test" APP_ENV: "test_cached"
DATABASE_URL: "mysql://root:mysql@mysql/sylius_test" DATABASE_URL: "mysql://root:mysql@mysql/sylius_test"
PHP_DATE_TIMEZONE: "Europe/Warsaw" PHP_DATE_TIMEZONE: "Europe/Warsaw"
MESSENGER_TRANSPORT_DSN: "sync://" MESSENGER_TRANSPORT_DSN: "sync://"