Skip to content

Commit a963232

Browse files
minor #59701 [Process] skip transient test on GitHub Actions (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Process] skip transient test on GitHub Actions | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT same as #59690 for a transient test that was introduced with Symfony 7.1 in #53968 (#59700 added it to the wrong method 🙈) Commits ------- fc8ee6a skip transient test on GitHub Actions
2 parents d7a1cdf + fc8ee6a commit a963232

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Process/Tests/ProcessTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -710,9 +710,6 @@ public function testProcessIsNotSignaled()
710710
if ('\\' === \DIRECTORY_SEPARATOR) {
711711
$this->markTestSkipped('Windows does not support POSIX signals');
712712
}
713-
if (\PHP_VERSION_ID < 80300 && isset($_SERVER['GITHUB_ACTIONS'])) {
714-
$this->markTestSkipped('Transient on GHA with PHP < 8.3');
715-
}
716713

717714
$process = $this->getProcess('echo foo');
718715
$process->run();
@@ -1689,6 +1686,9 @@ public function testNotIgnoringSignal()
16891686
if (!\function_exists('pcntl_signal')) {
16901687
$this->markTestSkipped('pnctl extension is required.');
16911688
}
1689+
if (\PHP_VERSION_ID < 80300 && isset($_SERVER['GITHUB_ACTIONS'])) {
1690+
$this->markTestSkipped('Transient on GHA with PHP < 8.3');
1691+
}
16921692

16931693
$process = $this->getProcess(['sleep', '10']);
16941694

0 commit comments

Comments
 (0)