Skip to content

Commit

Permalink
Merge pull request #173 from loic425/features/improve-make-file
Browse files Browse the repository at this point in the history
improve make file with a lot of tests
  • Loading branch information
loic425 committed Apr 19, 2019
2 parents 08d92d6 + fa8f650 commit fa070a1
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions Makefile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,21 @@ install:
load-fixtures:
bin/console sylius:fixtures:load default --no-interaction

start:
symfony server:start --no-tls || bin/console server:start ${ARGS}

stop:
symfony server:stop || bin/console server:stop

test: validate-all test-all

test-all: test-phpspec test-phpstan test-phpunit test-infection test-all-behat

test-behat:
APP_ENV=test vendor/bin/behat --tags=${TAGS} ${ARGS}

test-all-behat: test-behat-without-javascript test-behat-with-javascript test-behat-with-cli

test-behat-without-javascript:
APP_ENV=test vendor/bin/behat --tags=~javascript --tags=${TAGS}

Expand All @@ -41,8 +53,19 @@ test-phpstan::
test-phpunit:
APP_ENV=test vendor/bin/phpunit ${ARGS}

start:
bin/console server:start ${ARGS}
validate-all: validate-composer validate-security validate-doctrine-schema validate-twig validate-yaml-files

stop:
bin/console server:stop
validate-composer:
composer validate --strict

validate-doctrine-schema:
bin/console doctrine:schema:validate

validate-security:
vendor/bin/security-checker security:check

validate-twig:
bin/console lint:twig templates

validate-yaml-files:
bin/console lint:yaml config

0 comments on commit fa070a1

Please sign in to comment.