From 95e44de0f94d71e8db3ef3c6779726113154fc92 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 832f757..4b83755 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.60.0", "helmich/typo3-typoscript-lint": "^3.1.1", @@ -159,7 +160,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": ".Build/bin/phpunit -c Build/phpunit/UnitTests.xml Tests/Unit", "ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",