From 816e94520eb56456108780fa856a00c698fef7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Fri, 13 Sep 2024 09:12:52 +0200 Subject: [PATCH] Splitting OIDCC4UI and SAML2SP4UI --- ...PS4UI_OIDCC4UI.yml => fit_WA_OIDCC4UI.yml} | 4 +- .github/workflows/fit_WA_SAML2SP4UI.yml | 53 +++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) rename .github/workflows/{fit_WA_SAML2PS4UI_OIDCC4UI.yml => fit_WA_OIDCC4UI.yml} (96%) create mode 100644 .github/workflows/fit_WA_SAML2SP4UI.yml diff --git a/.github/workflows/fit_WA_SAML2PS4UI_OIDCC4UI.yml b/.github/workflows/fit_WA_OIDCC4UI.yml similarity index 96% rename from .github/workflows/fit_WA_SAML2PS4UI_OIDCC4UI.yml rename to .github/workflows/fit_WA_OIDCC4UI.yml index aa664874f0..3d8e209e7f 100644 --- a/.github/workflows/fit_WA_SAML2PS4UI_OIDCC4UI.yml +++ b/.github/workflows/fit_WA_OIDCC4UI.yml @@ -14,7 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License -name: "FIT WA SAML2SP4UI OIDCC4UI" +name: "FIT WA OIDCC4UI" on: push: @@ -49,5 +49,5 @@ jobs: ${{ runner.os }}-maven- - name: Build run: mvn -U -T 1C -P 'skipTests,all' - - name: 'WA / SAML2SP4UI, OIDCC4UI' + - name: 'WA / OIDCC4UI' run: mkdir -p fit/core-reference/target/test-classes && cp fit/core-reference/src/test/resources/saml.keystore.jks fit/core-reference/target/test-classes && mvn -f fit/wa-reference/pom.xml verify -Dinvoker.streamLogs=true -Dmodernizer.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Djacoco.skip=true -Dit.test=OIDCC4UIITCase diff --git a/.github/workflows/fit_WA_SAML2SP4UI.yml b/.github/workflows/fit_WA_SAML2SP4UI.yml new file mode 100644 index 0000000000..2509797261 --- /dev/null +++ b/.github/workflows/fit_WA_SAML2SP4UI.yml @@ -0,0 +1,53 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License +name: "FIT WA SAML2SP4UI" + +on: + push: + branches: ['master', 'pr-*'] + pull_request: + # The branches below must be a subset of the branches above + branches: [master] + schedule: + - cron: '0 13 * * 4' + +jobs: + fit_WA_SAML2SP4UI_OIDCC4UI: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Setup Java JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 21 + - name: Setup Maven + uses: stCarolas/setup-maven@v5 + with: + maven-version: 3.9.6 + - uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Build + run: mvn -U -T 1C -P 'skipTests,all' + - name: 'WA / SAML2SP4UI' + run: mkdir -p fit/core-reference/target/test-classes && cp fit/core-reference/src/test/resources/saml.keystore.jks fit/core-reference/target/test-classes && mvn -f fit/wa-reference/pom.xml verify -Dinvoker.streamLogs=true -Dmodernizer.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Djacoco.skip=true -Dit.test=SAML2SP4UIITCase