Add Java Distribution IT for Windows (#21675)

Co-authored-by: Miquel Simon <msimonma@redhat.com>
This commit is contained in:
Pedro Igor 2023-07-18 03:15:56 -07:00 committed by GitHub
parent 064520a506
commit d2cdd78655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 5 deletions

View file

@ -38,4 +38,8 @@ runs:
- id: extract-maven-artifacts
name: Extract Keycloak Maven artifacts
shell: bash
run: tar -C ~/ --use-compress-program unzstd -xf m2-keycloak.tzts
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
choco install zstandard
fi
tar -C ~/ --use-compress-program="zstd -d" -xf m2-keycloak.tzts

View file

@ -113,12 +113,20 @@ jobs:
quarkus-integration-tests:
name: Quarkus IT
needs: build
runs-on: ubuntu-latest
timeout-minutes: 115
strategy:
matrix:
server: [zip, container, storage]
os: [ubuntu-latest, windows-latest]
server: [sanity-check-zip, zip, container, storage]
exclude:
- os: windows-latest
server: zip
- os: windows-latest
server: container
- os: windows-latest
server: storage
fail-fast: false
runs-on: ${{ matrix.os }}
env:
MAVEN_OPTS: -Xmx1024m
steps:
@ -132,6 +140,7 @@ jobs:
- name: Run Quarkus integration Tests
run: |
declare -A PARAMS
PARAMS["sanity-check-zip"]="-Dtest=StartCommandDistTest,StartDevCommandDistTest,BuildAndStartDistTest,ImportAtStartupDistTest"
PARAMS["zip"]=""
PARAMS["container"]="-Dkc.quarkus.tests.dist=docker"
PARAMS["storage"]="-Ptest-database -Dtest=PostgreSQLDistTest,MariaDBDistTest#testSuccessful,MySQLDistTest#testSuccessful,DatabaseOptionsDistTest,JPAStoreDistTest,HotRodStoreDistTest,MixedStoreDistTest,TransactionConfigurationDistTest"
@ -146,13 +155,14 @@ jobs:
jdk-integration-tests:
name: Java Distribution IT
needs: build
runs-on: ubuntu-latest
timeout-minutes: 100
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
dist: [temurin]
version: [19]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

View file

@ -45,7 +45,7 @@
<files>
<file>
<source>src/main/content/conf/cluster-ha.xml</source>
<outputDirectory>/auth-server-quarkus/conf</outputDirectory>
<outputDirectory>auth-server-quarkus/conf</outputDirectory>
<destName>cluster-ha.xml</destName>
<filtered>true</filtered>
</file>