Skip to content

Commit

Permalink
Replace RabbitMQ service by setup inside container
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Sep 18, 2024
1 parent ac34104 commit 2108635
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,14 @@ jobs:
GCMD_SYNC_RECIPIENTS: gcmd@localhost
CELERY_BROKER_URL: amqp://guest:guest@rabbitmq:5672/

services:
rabbitmq:
image: rabbitmq:latest
env:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- 5672:5672

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Setup PostgreSQL with Postgis
uses: huaxk/[email protected]
with:
Expand All @@ -51,6 +44,11 @@ jobs:
postgresql user: admg
postgresql password: admg

- name: Setup RabbitMQ
uses: nijel/[email protected]
with:
rabbitmq version: latest

- name: Install GDAL
run: |
sudo apt-get update -y
Expand Down

0 comments on commit 2108635

Please sign in to comment.