mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
wp
This commit is contained in:
@ -44,12 +44,12 @@ final class Only implements Terminable
|
||||
*/
|
||||
public static function enable(TestCall $testCall, string $group = '__pest_only'): void
|
||||
{
|
||||
$testCall->group($group);
|
||||
|
||||
if (Environment::name() === Environment::CI || Parallel::isWorker()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$testCall->group($group);
|
||||
|
||||
$lockFile = self::TEMPORARY_FOLDER.DIRECTORY_SEPARATOR.'only.lock';
|
||||
|
||||
if (file_exists($lockFile) && $group === '__pest_only') {
|
||||
|
||||
Reference in New Issue
Block a user