mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
use test_cached environment
This commit is contained in:
parent
8335dbc1f2
commit
fc21e98852
4 changed files with 5 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ date.timezone=${PHP_DATE_TIMEZONE}
|
|||
[opcache]
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=0
|
||||
opcache.memory_consumption=256
|
||||
opcache.memory_consumption=512
|
||||
opcache.max_accelerated_files=32531
|
||||
opcache.interned_strings_buffer=8
|
||||
opcache.validate_timestamps=0
|
||||
|
|
|
|||
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
|
@ -5,7 +5,7 @@ on:
|
|||
|
||||
jobs:
|
||||
docker-compose:
|
||||
name: Excute Tests on Docker Compose
|
||||
name: Execute Tests on Docker Compose
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
COMPOSE_FILE: docker-compose.test.yml
|
||||
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
run: docker-compose run ci
|
||||
|
||||
docker:
|
||||
name: Excute Tests on Docker Containers
|
||||
name: Execute Tests on Docker Containers
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
|
|
|
|||
1
Makefile
1
Makefile
|
|
@ -7,6 +7,7 @@ init:
|
|||
|
||||
ci:
|
||||
composer install --no-interaction --no-scripts
|
||||
composer dump-env $APP_ENV
|
||||
bin/console sylius:install --no-interaction
|
||||
bin/console sylius:fixtures:load default --no-interaction
|
||||
bin/console cache:warmup
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ services:
|
|||
image: sylius/standard:1.11-traditional
|
||||
entrypoint: ["make", "ci"]
|
||||
environment:
|
||||
APP_ENV: "test"
|
||||
APP_ENV: "test_cached"
|
||||
DATABASE_URL: "mysql://root:mysql@mysql/sylius_test"
|
||||
PHP_DATE_TIMEZONE: "Europe/Warsaw"
|
||||
MESSENGER_TRANSPORT_DSN: "sync://"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue