8000 minor #59846 [Semaphore] skip failing tests on GitHub Actions with PH… · symfony/symfony@7c515b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c515b2

Browse files
minor #59846 [Semaphore] skip failing tests on GitHub Actions with PHP 8.5 (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Semaphore] skip failing tests on GitHub Actions with PHP 8.5 | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 0052542 skip failing Semaphore component tests on GitHub Actions with PHP 8.5
2 parents 3a53992 + 0052542 commit 7c515b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Semaphore/Tests/Store/RelayStoreTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff lin 8000 e numberDiff line change
@@ -25,6 +25,10 @@ protected function setUp(): void
2525

2626
public static function setUpBeforeClass(): void
2727
{
28+
if (\PHP_VERSION_ID <= 80500 && isset($_SERVER['GITHUB_ACTIONS'])) {
29+
self::markTestSkipped('Test segfaults on PHP 8.5');
30+
}
31+
2832
try {
2933
new Relay(...explode(':', getenv('REDIS_HOST')));
3034
} catch (\Relay\Exception $e) {

0 commit comments

Comments
 (0)
0