Skip to content

new_client_snapshot #233

new_client_snapshot

new_client_snapshot #233

name: Test against RabbitMQ alphas
on:
push:
branches:
- main
pull_request:
branches:
- main
repository_dispatch:
types: [new_client_snapshot]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
rabbitmq-image: [ 'pivotalrabbitmq/rabbitmq:v4.0.x', 'pivotalrabbitmq/rabbitmq:main' ]
services:
rabbitmq:
image: ${{ matrix.rabbitmq-image }}
ports:
- 5672:5672
name: Test against ${{ matrix.rabbitmq-image }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
- name: Output broker version
run: docker exec ${{job.services.rabbitmq.id}} rabbitmqctl version
- name: Enable JMS topic exchange plugin
run: docker exec ${{job.services.rabbitmq.id}} rabbitmq-plugins enable rabbitmq_jms_topic_exchange --offline
- name: Stop RabbitMQ application
run: docker exec ${{job.services.rabbitmq.id}} rabbitmqctl stop_app
- name: Start RabbitMQ application
run: docker exec ${{job.services.rabbitmq.id}} rabbitmqctl start_app
- name: Output dependencies
run: ./mvnw dependency:tree --no-transfer-progress
- name: Test
run: ./mvnw clean verify --no-transfer-progress