mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 10:36:13 +01:00

[FEATURE] Use paratest for composer script

This needs to be done for runTests.sh as well

Part of #1379
This commit is contained in:
Eike Starkmann 2024-07-29 18:36:20 +02:00 committed by Oliver Klee
parent fdace0a094
commit 5d081a57e7

View file

@ -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",
"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",