This commit is contained in:
Nuno Maduro
2024-09-05 19:43:20 +01:00
parent 1cae035887
commit 49aa44c470

View File

@ -40,7 +40,7 @@ final class Only implements Terminable
*/
public static function enable(TestCall $testCall, string $group = '__pest_only'): void
{
if (Environment::name() === Environment::CI) {
if (Environment::name() === Environment::CI || Parallel::isWorker()) {
return;
}