Skip to content

Commit 3ea3066

Browse files
Tests workflow: provision a RabbitMQ node
1 parent 72623a3 commit 3ea3066

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,19 @@ on:
99
- "main"
1010

1111
jobs:
12-
build:
12+
test:
1313
runs-on: ubuntu-latest
1414

15+
env:
16+
CI: true
17+
18+
services:
19+
rabbitmq:
20+
image: rabbitmq:4-management
21+
ports:
22+
- 15672:15672
23+
- 5672:5672
24+
1525
strategy:
1626
matrix:
1727
java-version: [11, 17, 21]
@@ -50,6 +60,9 @@ jobs:
5060
sudo mv lein /usr/local/bin/
5161
lein version # This will download Leiningen if not cached
5262
63+
- name: Configure RabbitMQ
64+
run: BUNNY_RABBITMQCTL=DOCKER:${{job.services.rabbitmq.id}} BUNNY_RABBITMQ_PLUGINS=DOCKER:${{job.services.rabbitmq.id}} bin/ci/before_build.sh
65+
5366
- name: Install dependencies
5467
run: lein deps
5568

0 commit comments

Comments
 (0)