-
Notifications
You must be signed in to change notification settings - Fork 15
37 lines (32 loc) · 1.02 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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)
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 }}