Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: updates Only plugin to check for CI environment
  • Loading branch information
nhaynes committed Jan 30, 2024
1 parent eeade88 commit d29997d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Plugins/Only.php
Expand Up @@ -40,6 +40,10 @@ public function terminate(): void
*/
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';
Expand Down

0 comments on commit d29997d

Please sign in to comment.