From 5d081a57e7fc9ba4c521af8f0c53c5481715307b Mon Sep 17 00:00:00 2001 From: Eike Starkmann Date: Mon, 29 Jul 2024 18:36:20 +0200 Subject: [PATCH] [FEATURE] Use paratest for composer script This needs to be done for runTests.sh as well Part of #1379 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index dce00d88..af4b3bda 100644 --- a/composer.json +++ b/composer.json @@ -47,6 +47,7 @@ "typo3/cms-frontend": "^11.5.4 || ^12.4.2" }, "require-dev": { + "brianium/paratest": "^6.11", "ergebnis/composer-normalize": "^2.43.0", "friendsofphp/php-cs-fixer": "^3.64.0", "helmich/typo3-typoscript-lint": "^3.1.1", @@ -164,7 +165,7 @@ "ci:tests:create-directories": "mkdir -p .Build/public/typo3temp/var/tests", "ci:tests:functional": [ "@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:typoscript:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",