Skip to content

Bump artemis.jms.client.version from 2.33.0 to 2.34.0 (#752) #1797

Bump artemis.jms.client.version from 2.33.0 to 2.34.0 (#752)

Bump artemis.jms.client.version from 2.33.0 to 2.34.0 (#752) #1797

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ main, qpid-jms-1.x ]
pull_request:
branches: [ main, qpid-jms-1.x ]
workflow_dispatch:
env:
# https://maven.apache.org/configure.html#maven_args-environment-variable
MAVEN_ARGS: "-Dmaven.artifact.threads=42 --no-transfer-progress --settings=.github/workflows/google-repository-settings.xml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt-openj9'
java-version: '11'
- name: Build with Maven
run: mvn -B package --file pom.xml ${{env.MAVEN_ARGS}}
- name: Install the qpid-jms subtree (needed for the next step)
run: mvn clean install -DskipTests -pl :cli-qpid-jms -am ${{env.MAVEN_ARGS}}
- name: Run a single test (remember that JUnit5 issue)
run: mvn surefire:test -Dtest=QPIDJMS484Test -pl :cli-qpid-jms ${{env.MAVEN_ARGS}}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt-openj9'
java-version: '11'
- name: docker pull
run: docker pull quay.io/jdanek/docker-alpine-openjdk-artemis-snapshot:latest
- name: docker run
run: docker run --rm -v`pwd`/scripts:/mnt -p 1883:1883 -p 5672:5672 -p 61616:61616 -p 5673:5673 -p 61617:61617 --entrypoint bash quay.io/jdanek/docker-alpine-openjdk-artemis-snapshot:latest /mnt/entrypoint.sh amq7-server &
- name: sleep
run: sleep 10
- name: mvn package
run: mvn clean package -Ptests,coverage ${{env.MAVEN_ARGS}}
- name: bash ./tests.sh
run: bash ./tests.sh