mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: updates Only plugin to check for CI environment
This commit is contained in:
@ -40,6 +40,10 @@ final class Only implements Terminable
|
||||
*/
|
||||
public static function enable(TestCall $testCall): void
|
||||
{
|
||||
if (Environment::name() == Environment::CI) {
|
||||
return;
|
||||
}
|
||||
|
||||
$testCall->group('__pest_only');
|
||||
|
||||
$lockFile = self::TEMPORARY_FOLDER.DIRECTORY_SEPARATOR.'only.lock';
|
||||
|
||||
Reference in New Issue
Block a user