Skip to content

Commit

Permalink
Add testing for multiple version from one base version
Browse files Browse the repository at this point in the history
  • Loading branch information
sschnabe committed Jul 12, 2023
1 parent ed7b7ef commit 8314d8f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ jobs:
version:
- 21.0.2
- 21.1.2
- 22.0.0
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
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 }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<!-- ===================================================================== -->

<version.org.keycloak>22.0.0</version.org.keycloak>
<version.org.keycloak.test>${version.org.keycloak}</version.org.keycloak.test>
<version.org.testcontainers>1.18.3</version.org.testcontainers>

</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/test.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=${version.org.keycloak}
version=${version.org.keycloak.test}
timeout=PT5m
jar=${project.build.directory}/${project.build.finalName}.jar

0 comments on commit 8314d8f

Please sign in to comment.