Keycloak Client CI #208
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: Keycloak Client CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Build Keycloak Client Libs | |
uses: ./.github/actions/build-keycloak-client | |
client-tests: | |
name: Client tests (Jakarta, JEE) | |
runs-on: ubuntu-latest | |
needs: build | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
keycloak_server_version: [ "24.0", "25.0", "26.0", "nightly" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- id: test-setup | |
name: Test setup | |
uses: ./.github/actions/test-setup | |
- name: Run client tests | |
run: | | |
mvn -B -f testsuite/providers/pom.xml package -DskipTests=true | |
mvn -B -f testsuite/admin-client-tests/pom.xml test -Dkeycloak.version.docker.image=${{ matrix.keycloak_server_version }} | |
mvn -B -f testsuite/authz-tests/pom.xml test -Dkeycloak.version.docker.image=${{ matrix.keycloak_server_version }} | |