fix: skipOnCI

This commit is contained in:
Nuno Maduro
2025-07-22 22:08:03 +01:00
parent f9814793dd
commit 516ace85b4

View File

@ -340,7 +340,7 @@ final class TestCall // @phpstan-ignore-line
'NETLIFY', 'NETLIFY',
'NOW_BUILDER', 'NOW_BUILDER',
] as $env) { ] as $env) {
if (isset($_ENV[$env])) { if (getenv('GITHUB_ACTIONS') !== false) {
return $this->skip(sprintf( return $this->skip(sprintf(
'This test is skipped on [CI].', 'This test is skipped on [CI].',
)); ));