mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-17 20:44:50 -06:00
make the tests capable of running against login v1 and v2 (#33732)
* make the tests capable of running against login v1 and v2 fixes: #31764 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * added build for v1 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * Update testsuite/integration-arquillian/tests/base/testsuites/login-suite Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * added login default theme Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * Update .github/workflows/ci.yml Co-authored-by: Stian Thorgersen <stian@redhat.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> * added default Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> --------- Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> Signed-off-by: Erik Jan de Wit <edewit@redhat.com> Co-authored-by: Stian Thorgersen <stian@redhat.com>
This commit is contained in:
35
.github/workflows/ci.yml
vendored
35
.github/workflows/ci.yml
vendored
@@ -325,6 +325,41 @@ jobs:
|
||||
with:
|
||||
job-id: jdk-integration-tests-${{ matrix.os }}-${{ matrix.dist }}-${{ matrix.version }}
|
||||
|
||||
login-v1-tests:
|
||||
name: Login Theme v1 tests
|
||||
needs: build
|
||||
timeout-minutes: 100
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- id: integration-test-setup
|
||||
name: Integration test setup
|
||||
uses: ./.github/actions/integration-test-setup
|
||||
|
||||
- name: Run base tests
|
||||
run: |
|
||||
TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh login`
|
||||
echo "Tests: $TESTS"
|
||||
./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh
|
||||
|
||||
- name: Upload JVM Heapdumps
|
||||
if: always()
|
||||
uses: ./.github/actions/upload-heapdumps
|
||||
|
||||
- uses: ./.github/actions/upload-flaky-tests
|
||||
name: Upload flaky tests
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
job-name: Java Distribution IT
|
||||
|
||||
- name: Surefire reports
|
||||
if: always()
|
||||
uses: ./.github/actions/archive-surefire-reports
|
||||
with:
|
||||
job-id: jdk-integration-tests-${{ matrix.os }}-${{ matrix.dist }}-${{ matrix.version }}
|
||||
|
||||
volatile-sessions-tests:
|
||||
name: Volatile Sessions IT
|
||||
needs: [build, conditional]
|
||||
|
||||
Reference in New Issue
Block a user