Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8748957

Browse files
author
DanielePalaia
committedDec 5, 2024·
refactor action
1 parent 1eba242 commit 8748957

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎.github/workflows/build-test.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ 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"
2523
ports:
2624
- 5672:5672
2725
- 15672:15672
@@ -37,7 +35,7 @@ jobs:
3735
virtualenvs-create: true
3836
virtualenvs-in-project: false
3937
- name: Enable RabbitMQ Plugins
40-
run: docker exec ${{ job.services.rabbitmq-streaming.id }} rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management rabbitmq_amqp1_0
38+
run: docker exec ${{ job.services.rabbitmq-server.id }} rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management rabbitmq_amqp1_0
4139
- name: poetry install
4240
run: poetry install --no-root
4341
- 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)
Please sign in to comment.