Skip to content

Commit 8403eb4

Browse files
committed
Skip Gearman tests on PHP 8.1
1 parent 4a14098 commit 8403eb4

7 files changed

+13
-1
lines changed

Diff for: .github/workflows/ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,10 @@ jobs:
167167
env:
168168
PHP_VERSION: ${{ matrix.php }}
169169

170-
- run: bin/test.sh --${{ matrix.rdkafka_action }}=rdkafka
170+
# TODO: convert these two steps into one w/o excludes when Gearman extension gets a release for PHP 8.1
171+
# See https://github.com/php/pecl-networking-gearman/issues/16
172+
- run: bin/test.sh
173+
if: ${{ matrix.php }} != '8.1'
174+
175+
- run: bin/test.sh --exclude-group=gearman
176+
if: ${{ matrix.php }} == '8.1'

Diff for: pkg/gearman/Tests/GearmanContextTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
/**
1414
* @group functional
15+
* @group gearman
1516
*/
1617
class GearmanContextTest extends TestCase
1718
{

Diff for: pkg/gearman/Tests/Spec/GearmanContextTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
/**
99
* @group functional
10+
* @group gearman
1011
*/
1112
class GearmanContextTest extends ContextSpec
1213
{

Diff for: pkg/gearman/Tests/Spec/GearmanSendToAndReceiveFromQueueTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
/**
1111
* @group functional
12+
* @group gearman
1213
*/
1314
class GearmanSendToAndReceiveFromQueueTest extends SendToAndReceiveFromQueueSpec
1415
{

Diff for: pkg/gearman/Tests/Spec/GearmanSendToAndReceiveNoWaitFromQueueTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
/**
1010
* @group functional
11+
* @group gearman
1112
*/
1213
class GearmanSendToAndReceiveNoWaitFromQueueTest extends SendToAndReceiveNoWaitFromQueueSpec
1314
{

Diff for: pkg/gearman/Tests/Spec/GearmanSendToTopicAndReceiveFromQueueTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
/**
1010
* @group functional
11+
* @group gearman
1112
*/
1213
class GearmanSendToTopicAndReceiveFromQueueTest extends SendToTopicAndReceiveFromQueueSpec
1314
{

Diff for: pkg/gearman/Tests/Spec/GearmanSendToTopicAndReceiveNoWaitFromQueueTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
/**
1010
* @group functional
11+
* @group gearman
1112
*/
1213
class GearmanSendToTopicAndReceiveNoWaitFromQueueTest extends SendToTopicAndReceiveNoWaitFromQueueSpec
1314
{

0 commit comments

Comments
 (0)