Skip to content

Implement Dynamic Jolokia Notification Listener (#830) #1500

Implement Dynamic Jolokia Notification Listener (#830)

Implement Dynamic Jolokia Notification Listener (#830) #1500

Workflow file for this run

name: Test report
on:
workflow_dispatch:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
push:
paths-ignore:
- '**.md'
env:
MAVEN_OPTS: -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
permissions: read-all
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- name: "Unit tests"
test_suite: 'test jacoco:report'
- name: "Style check"
test_suite: 'compile com.mycila:license-maven-plugin:check pmd:pmd pmd:cpd pmd:check pmd:cpd-check javadoc:jar'
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Cache local Maven repository
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: ~/.m2/repository
key: build-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
build-${{ runner.os }}-maven-
- name: Set up JDK
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
java-version: 17
distribution: 'temurin'
- name: Download and install custom dependency
run: |
curl -L -o jolokia-jmx-adapter-2.1.1.jar https://search.maven.org/remotecontent?filepath=org/jolokia/jolokia-client-jmx-adapter/2.1.1/jolokia-client-jmx-adapter-2.1.1.jar
mvn install:install-file \
-Dfile=jolokia-jmx-adapter-2.1.1.jar \
-DgroupId=org.jolokia \
-DartifactId=jolokia-jmx-adapter \
-Dversion=2.1.1 \
-Dpackaging=jar
- name: install dependencies
run: mvn install -Pbuild-cassandra-test-jar -DskipTests=true
- run: mvn $TEST_SUITE -B
id: tests
env:
TEST_SUITE: ${{ matrix.test_suite }}