-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (35 loc) · 1.04 KB
/
integration-test.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
37
38
39
40
41
42
43
name: Integration-Test
on:
push
jobs:
create-version-matrix:
runs-on: ubuntu-latest
steps:
- id: keycloak-version
uses: pulledtim/get-releases-by-semver@0.0.5
with:
include: "MINOR"
# we already know that everything below is incompatible
minMajor: "18"
# Ignore Keycloak 22 for now
excludeMajor: "22"
repository: keycloak/keycloak
token: ${{ secrets.TOKEN }}
outputs:
keycloak-matrix: ${{ steps.keycloak-version.outputs.releases }}
it:
needs: [ "create-version-matrix" ]
runs-on: ubuntu-latest
strategy:
matrix:
keycloak-version: ${{fromJson(needs.create-version-matrix.outputs.keycloak-matrix)}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '17'
java-package: jdk
- name: Execute tests
id: it-test
run: |
mvn clean integration-test -Pintegration-test -Dkeycloak.version=${{ matrix.keycloak-version }}