Skip to content

Commit 6174f06

Browse files
committed
Run rabbitmq dependent tests on github
1 parent 8258cf9 commit 6174f06

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
services:
1818
redis:
19-
image: redis
19+
image: redis:6.0.0
2020
ports:
2121
- 6379:6379
2222
redis-cluster:
@@ -36,6 +36,10 @@ jobs:
3636
image: memcached:1.6.5
3737
ports:
3838
- 11211:11211
39+
rabbitmq:
40+
image: rabbitmq:3.8.3
41+
ports:
42+
- 5672:5672
3943

4044
steps:
4145
- name: Checkout
@@ -69,7 +73,6 @@ jobs:
6973

7074
- name: Install Symfony Flex
7175
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-master
72-
if: matrix.php != 5.5 && matrix.php != 5.6
7376

7477
- name: Install dependencies
7578
run: |
@@ -83,4 +86,5 @@ jobs:
8386
REDIS_HOST: localhost
8487
REDIS_CLUSTER_HOSTS: 'localhost:7000 localhost:7001 localhost:7002 localhost:7003 localhost:7004 localhost:7005'
8588
MESSENGER_REDIS_DSN: redis://127.0.0.1:7006/messages
89+
MESSENGER_AMQP_DSN: amqp://localhost/%2f/messages
8690
MEMCACHED_HOST: localhost

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ addons:
1313
- slapd
1414
- zookeeperd
1515
- libzookeeper-mt-dev
16-
- rabbitmq-server
1716

1817
env:
1918
global:
2019
- MIN_PHP=7.1.3
2120
- SYMFONY_PROCESS_PHP_TEST_BINARY=~/.phpenv/shims/php
22-
- MESSENGER_AMQP_DSN=amqp://localhost/%2f/messages
23-
- MESSENGER_REDIS_DSN=redis://127.0.0.1:7006/messages
2421
- SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
2522

2623
matrix:
@@ -40,7 +37,6 @@ cache:
4037
- ~/php-ext
4138

4239
services:
43-
- rabbitmq
4440
- docker
4541

4642
before_install:

src/Symfony/Component/Messenger/Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
/**
3535
* @requires extension amqp
36+
* @group integration
3637
*/
3738
class AmqpExtIntegrationTest extends TestCase
3839
{

0 commit comments

Comments
 (0)