Skip to content

Commit 3b88c1b

Browse files
committed
add tests skeleton
1 parent 7ed0a3e commit 3b88c1b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,6 @@ jobs:
1010
tests:
1111
runs-on: ubuntu-latest
1212

13-
rabbitmq:
14-
image: rabbitmq:latest
15-
environment:
16-
RABBITMQ_DEFAULT_USER: guest
17-
RABBITMQ_DEFAULT_PASSWORD: guest
18-
RABBITMQ_DEFAULT_VHOST: /
19-
ports:
20-
- "15671:15671
21-
- "15672:15672
22-
- "5671:5671
23-
- "5672:5672"
24-
25-
2613
strategy:
2714
fail-fast: true
2815
matrix:
@@ -32,6 +19,19 @@ jobs:
3219
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
3320

3421
steps:
22+
- name: Git checkout
23+
uses: actions/checkout@v2
24+
25+
- name: Start RabbitMQ
26+
uses: namoshek/rabbitmq-github-action@v1
27+
with:
28+
version: '3.8.9'
29+
ports: '1883:1883 8883:8883 15671:15671'
30+
certificates: ${{ github.workspace }}/.ci/tls-certificates
31+
config: ${{ github.workspace }}/.ci/rabbitmq.conf
32+
definitions: ${{ github.workspace }}/.ci/definitions.json
33+
container-name: 'mqtt'
34+
3535
- name: Checkout code
3636
uses: actions/checkout@v2
3737

0 commit comments

Comments
 (0)