Sylius/Makefile
Łukasz Chruściel 1b3e7ec5f8
feature #13893 [docker]Configure Blackfire service in dev environment (Ferror)
This PR was merged into the master branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         |  master <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | none
| License         | MIT

Let's expand the development environment with Blackfire to enable faster performance testing 


Commits
-------

83e1b82 [poc][feature][docker]Blackfire
a39021d add url argument and example on how to execute
2022-05-12 17:49:46 +02:00

32 lines
1.3 KiB
Makefile

init:
composer install --no-interaction --no-scripts
bin/console sylius:install --no-interaction
bin/console sylius:fixtures:load default --no-interaction
yarn install --pure-lockfile
yarn build
ci:
composer install --no-interaction --no-scripts
bin/console sylius:install --no-interaction
bin/console sylius:fixtures:load default --no-interaction
bin/console cache:warmup
yarn install --pure-lockfile
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
unit:
vendor/bin/phpunit
spec:
vendor/bin/phpspec run --ansi --no-interaction -f dot
behat:
vendor/bin/behat --colors --strict --stop-on-failure --no-interaction -vvv -f progress
# Example execution: make profile url=http://app
profile:
docker compose exec blackfire blackfire curl -L $(url)