exclude (#37) #372
Workflow file for this run
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: Integration-Test | |
on: | |
push | |
jobs: | |
create-version-matrix: | |
runs-on: ubuntu-latest | |
steps: | |
- id: keycloak-version | |
uses: pulledtim/[email protected] | |
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 }} |