From 8314d8fab05fadc8007ca857c02e63bc68a8cfe7 Mon Sep 17 00:00:00 2001 From: Stephan Schnabel Date: Wed, 12 Jul 2023 11:20:22 +0200 Subject: [PATCH] Add testing for multiple version from one base version --- .github/workflows/pr.yaml | 3 ++- README.md | 2 +- pom.xml | 1 + src/test/resources/test.properties | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 9d30847..094ca78 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -49,6 +49,7 @@ jobs: version: - 21.0.2 - 21.1.2 + - 22.0.0 steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 @@ -56,4 +57,4 @@ jobs: distribution: temurin java-version: 17 cache: maven - - run: mvn $MAVEN_ARGS verify -Dcheck.skip -Dversion.org.keycloak=${{ matrix.version }} + - run: mvn $MAVEN_ARGS verify -Dcheck.skip -Dversion.org.keycloak.test=${{ matrix.version }} diff --git a/README.md b/README.md index e18c360..cef8079 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Keycloak Metrics -Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [21](.github/workflows/pr.yaml#L49-L51). +Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [21-22](.github/workflows/pr.yaml#L49-L51). [![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/kokuwaio/keycloak-event-metrics.svg?label=License)](http://www.apache.org/licenses/) [![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.keycloak/keycloak-event-metrics.svg?label=Maven%20Central)](https://central.sonatype.com/search?namespace=io.kokuwa.keycloak&q=keycloak-event-metrics) diff --git a/pom.xml b/pom.xml index c2fbcdb..ba4e39c 100644 --- a/pom.xml +++ b/pom.xml @@ -70,6 +70,7 @@ 22.0.0 + ${version.org.keycloak} 1.18.3 diff --git a/src/test/resources/test.properties b/src/test/resources/test.properties index d66d19f..9d19498 100644 --- a/src/test/resources/test.properties +++ b/src/test/resources/test.properties @@ -1,3 +1,3 @@ -version=${version.org.keycloak} +version=${version.org.keycloak.test} timeout=PT5m jar=${project.build.directory}/${project.build.finalName}.jar