Merge pull request #562 from rabbitmq/dependabot/maven/main/org.asser… #1089
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test against RabbitMQ alphas | |
on: | |
schedule: | |
- cron: '0 4 * * *' | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
include: | |
- rabbitmq-image: "pivotalrabbitmq/rabbitmq:v4.0.x" | |
delayed-message-exchange-plugin-version: "4.0.2" | |
- rabbitmq-image: "pivotalrabbitmq/rabbitmq:main" | |
delayed-message-exchange-plugin-version: "4.0.2" | |
name: Test against ${{ matrix.rabbitmq-image }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout tls-gen | |
uses: actions/checkout@v4 | |
with: | |
repository: rabbitmq/tls-gen | |
path: './tls-gen' | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'maven' | |
- name: Start RabbitMQ application | |
run: ci/start-broker.sh | |
env: | |
RABBITMQ_IMAGE: ${{ matrix.rabbitmq-image }} | |
DELAYED_MESSAGE_EXCHANGE_PLUGIN_VERSION: ${{ matrix.delayed-message-exchange-plugin-version }} | |
- name: Test | |
run: | | |
./mvnw verify -Drabbitmqctl.bin=DOCKER:rabbitmq \ | |
-Dtest-broker.A.nodename=rabbit@$(hostname) \ | |
-Dtest-tls-certs.dir=tls-gen/basic \ | |
--no-transfer-progress | |
- name: Stop broker | |
run: docker stop rabbitmq && docker rm rabbitmq |