File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1616 stop_on_failure : true
1717 override :
1818 -
19- command : make coverage
19+ command : make coverage && make test-behat
2020 idle_timeout : 1200
2121 coverage :
2222 file : ' build/coverage/clover.xml'
Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ test-technical:
8181
8282test-functional :
8383 ./vendor/bin/phpunit ${PHPUNIT_COLOR_OPTION} ${PHPUNIT_OUTPUT_STYLE_OPTION} --testsuite functional
84+ make test-behat
85+
86+ test-behat :
8487 ./vendor/bin/behat ${BEHAT_COLOR_OPTION} ${BEHAT_OUTPUT_STYLE_OPTION} --no-snippets
8588
8689codestyle : create-reports-directory
@@ -89,11 +92,6 @@ codestyle: create-reports-directory
8992coverage : create-coverage-directory
9093 ./vendor/bin/phpunit ${PHPUNIT_COLOR_OPTION} ${PHPUNIT_OUTPUT_STYLE_OPTION} ${PHPUNIT_COVERAGE_OPTION}
9194
92- behat-coverage : create-behat-coverage-directory
93- composer required leanphp/behat-code-coverage
94- ./vendor/bin/behat ${BEHAT_COLOR_OPTION} ${BEHAT_OUTPUT_STYLE_OPTION} --no-snippets --profile coverage
95-
96-
9795# Internal commands
9896create-coverage-directory :
9997 mkdir -p ${COVERAGE_DIRECTORY}
You can’t perform that action at this time.
0 commit comments