Skip to content

Commit 70566c4

Browse files
author
DanielePalaia
committed
refactor action
1 parent 1eba242 commit 70566c4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
os: [ubuntu-22.04]
1919
runs-on: ${{ matrix.os }}
2020
services:
21-
rabbitmq-streaming:
21+
rabbitmq-server:
2222
image: rabbitmq:4.0.3-management
23-
env:
24-
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: "-rabbitmq_stream advertised_host localhost"
23+
#env:
24+
# RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: "-rabbitmq_stream advertised_host localhost"
2525
ports:
2626
- 5672:5672
2727
- 15672:15672
@@ -37,7 +37,7 @@ jobs:
3737
virtualenvs-create: true
3838
virtualenvs-in-project: false
3939
- name: Enable RabbitMQ Plugins
40-
run: docker exec ${{ job.services.rabbitmq-streaming.id }} rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management rabbitmq_amqp1_0
40+
run: docker exec ${{ job.services.rabbitmq-server.id }} rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management rabbitmq_amqp1_0
4141
- name: poetry install
4242
run: poetry install --no-root
4343
- name: isort check-only

tests/test_connection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from proton.utils import BlockingConnection
22

33

4+
# Temporary this will be replaced by our connection Deal when we start the implementation
5+
# For the moment we just need a test to run poetry run pytest without failing
46
def test_connection() -> None:
57
BlockingConnection("amqp://guest:guest@localhost:5672/")

0 commit comments

Comments
 (0)