mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: skipOnCI
This commit is contained in:
@ -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].',
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in New Issue
Block a user