mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
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]Blackfirea39021dadd url argument and example on how to execute
32 lines
1.3 KiB
Makefile
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)
|