File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change
1
+ listeners.tcp.default = 5672
2
+ loopback_users.guest = false
3
+
4
+ mqtt.listeners.tcp.default = 1883
5
+ mqtt.listeners.ssl = none
6
+ mqtt.allow_anonymous = true
7
+ mqtt.default_user = guest
8
+ mqtt.default_pass = guest
9
+ mqtt.vhost = /
10
+ mqtt.exchange = amq.topic
11
+ mqtt.subscription_ttl = 1800000
Original file line number Diff line number Diff line change 16
16
strategy :
17
17
matrix :
18
18
php-version : ['7.4', '8.0']
19
- mqtt-broker : ['mosquitto', 'hivemq', 'emqx']
19
+ mqtt-broker : ['mosquitto', 'hivemq', 'emqx', 'rabbitmq' ]
20
20
21
21
steps :
22
22
- uses : actions/checkout@v2
85
85
version : ' 4.2.5'
86
86
ports : ' 1883:1883'
87
87
88
+ - name : Start RabbitMQ message broker
89
+ if : matrix.mqtt-broker == 'rabbitmq'
90
+ uses : namoshek/rabbitmq-github-action@v1
91
+ with :
92
+ version : ' 3.8.9'
93
+ ports : ' 1883:1883'
94
+ config : ${{ github.workspace }}/.ci/rabbitmq.conf
95
+ plugins : ' rabbitmq_mqtt'
96
+
88
97
- name : Wait a bit until MQTT broker has started
89
98
run : sleep 30
90
99
95
104
MQTT_BROKER_PORT : 1883
96
105
MQTT_BROKER_TLS_PORT : 8883
97
106
MQTT_BROKER_TLS_WITH_CLIENT_CERT_PORT : 8884
98
- SKIP_TLS_TESTS : ${{ matrix.mqtt-broker == 'emqx' }}
107
+ SKIP_TLS_TESTS : ${{ matrix.mqtt-broker == 'emqx' || matrix.mqtt-broker == 'rabbitmq' }}
99
108
100
109
- name : Dump Docker logs on failure
101
110
if : failure()
You can’t perform that action at this time.
0 commit comments