mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-23 17:36:12 +01:00
Merge c75f100cbf
into 8cbf6abd27
This commit is contained in:
commit
771a2b5df0
2 changed files with 4 additions and 2 deletions
|
@ -546,7 +546,7 @@ case ${TEST_SUITE} in
|
||||||
;;
|
;;
|
||||||
functional)
|
functional)
|
||||||
[ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Functional"
|
[ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Functional"
|
||||||
COMMAND=".Build/bin/phpunit -c Build/phpunit/FunctionalTests.xml --exclude-group not-${DBMS} ${EXTRA_TEST_OPTIONS} ${TEST_FILE}"
|
COMMAND=".Build/bin/paratest -c Build/phpunit/FunctionalTests.xml --exclude-group not-${DBMS} ${EXTRA_TEST_OPTIONS} ${TEST_FILE}"
|
||||||
case ${DBMS} in
|
case ${DBMS} in
|
||||||
mariadb)
|
mariadb)
|
||||||
echo "Using driver: ${DATABASE_DRIVER}"
|
echo "Using driver: ${DATABASE_DRIVER}"
|
||||||
|
@ -574,6 +574,7 @@ case ${TEST_SUITE} in
|
||||||
sqlite)
|
sqlite)
|
||||||
CONTAINERPARAMS="-e typo3DatabaseDriver=pdo_sqlite"
|
CONTAINERPARAMS="-e typo3DatabaseDriver=pdo_sqlite"
|
||||||
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND}
|
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND}
|
||||||
|
echo "{CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG=\"${XDEBUG_CONFIG}\" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND}"
|
||||||
SUITE_EXIT_CODE=$?
|
SUITE_EXIT_CODE=$?
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
"typo3/cms-frontend": "^11.5.4 || ^12.4.2"
|
"typo3/cms-frontend": "^11.5.4 || ^12.4.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"brianium/paratest": "^6.11.1",
|
||||||
"ergebnis/composer-normalize": "^2.43.0",
|
"ergebnis/composer-normalize": "^2.43.0",
|
||||||
"friendsofphp/php-cs-fixer": "^3.64.0",
|
"friendsofphp/php-cs-fixer": "^3.64.0",
|
||||||
"helmich/typo3-typoscript-lint": "^3.1.1",
|
"helmich/typo3-typoscript-lint": "^3.1.1",
|
||||||
|
@ -164,7 +165,7 @@
|
||||||
"ci:tests:create-directories": "mkdir -p .Build/public/typo3temp/var/tests",
|
"ci:tests:create-directories": "mkdir -p .Build/public/typo3temp/var/tests",
|
||||||
"ci:tests:functional": [
|
"ci:tests:functional": [
|
||||||
"@ci:tests:create-directories",
|
"@ci:tests:create-directories",
|
||||||
"find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \\\"Running functional test suite {}\\\"; .Build/bin/phpunit -c Build/phpunit/FunctionalTests.xml {}';"
|
"paratest -c Build/phpunit/FunctionalTests.xml Tests/Functional"
|
||||||
],
|
],
|
||||||
"ci:tests:unit": "phpunit -c Build/phpunit/UnitTests.xml Tests/Unit",
|
"ci:tests:unit": "phpunit -c Build/phpunit/UnitTests.xml Tests/Unit",
|
||||||
"ci:typoscript:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
"ci:typoscript:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
||||||
|
|
Loading…
Reference in a new issue