Revert "[docker]Run Catalog Promotion via SYNC messenger transport"

This commit is contained in:
Łukasz Chruściel 2022-04-29 18:55:35 +02:00 committed by GitHub
parent e34578a114
commit 3f0750b504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 11 deletions

View file

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

View file

@ -5,7 +5,7 @@ on:
jobs:
docker-compose:
name: Execute Tests on Docker Compose
name: Excute 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: Execute Tests on Docker Containers
name: Excute Tests on Docker Containers
runs-on: ubuntu-latest
steps:
-
@ -48,7 +48,6 @@ jobs:
-e DATABASE_URL="mysql://root@mysql/sylius_test" \
-e APP_ENV="test" \
-e PHP_DATE_TIMEZONE="Europe/Warsaw" \
-e MESSENGER_TRANSPORT_DSN="sync://" \
--net sylius_network \
--entrypoint="" \
-p 80:80/tcp \

View file

@ -7,7 +7,6 @@ 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
@ -15,9 +14,9 @@ ci:
yarn build
vendor/bin/phpunit
vendor/bin/phpspec run --ansi --no-interaction -f dot
vendor/bin/behat --strict --no-interaction -vvv -f progress --tags="~@javascript&&@cli&&~@todo" || vendor/bin/behat --strict --no-interaction -vvv -f progress --tags="~@javascript&&@cli&&~@todo" --rerun # CLI Behat
vendor/bin/behat --strict --no-interaction -vvv -f progress --tags="~@javascript&&~@cli&&~@todo" || vendor/bin/behat --strict --no-interaction -vvv -f progress --tags="~@javascript&&~@cli&&~@todo" --rerun # NON JS Behat
#vendor/bin/behat --strict --no-interaction -vvv -f progress --tags="@javascript&&~@cli&&~@todo" # JS Behat
vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="~@javascript&&@cli&&~@todo" # CLI Behat
vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="~@javascript&&~@cli&&~@todo" # NON JS Behat
#vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="@javascript&&~@cli&&~@todo" # JS Behat
unit:
vendor/bin/phpunit

View file

@ -3,11 +3,9 @@ services:
image: sylius/standard:1.11-traditional
entrypoint: ["make", "ci"]
environment:
APP_ENV: "test_cached"
APP_ENV: "test"
DATABASE_URL: "mysql://root:mysql@mysql/sylius_test"
PHP_DATE_TIMEZONE: "Europe/Warsaw"
MESSENGER_TRANSPORT_DSN: "sync://"
KERNEL_CLASS: "App\Kernel"
volumes:
- ./:/app:delegated
- ./.docker/test/php.ini:/etc/php/8.0/fpm/php.ini:delegated