Skip to content

Commit

Permalink
added build for v1
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Jan de Wit <[email protected]>
  • Loading branch information
edewit committed Oct 29, 2024
1 parent 50de300 commit 3caf2a2
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,57 @@ 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
strategy:
matrix:
os: [ubuntu-latest]
dist: [temurin]
version: [17]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- id: login-v1-test-setup
name: Integration test setup
uses: ./.github/actions/integration-test-setup
with:
jdk-dist: ${{ matrix.dist }}
jdk-version: ${{ matrix.version }}

- name: Prepare Quarkus distribution with current JDK
run: ./mvnw install -e -pl testsuite/integration-arquillian/servers/auth-server/quarkus

- name: Run base tests
run: |
TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh login`
echo "Tests: $TESTS"
./mvnw test ${{ env.SUREFIRE_RETRY }} -Dlogin.theme.default=keycloak -Pauth-server-quarkus -Dtest=$TESTS "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh
- name: Build with JDK
run:
./mvnw install -e -DskipTests -DskipExamples

- 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]
Expand Down
15 changes: 15 additions & 0 deletions testsuite/integration-arquillian/tests/base/testsuites/login-suite
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
AdminConsoleWhoAmILocaleTest
AppInitiatedActionUpdateEmailWithVerificationTest
AuthorizationCodeTest
IdpInitiatedLoginTest
KcOidcFirstBrokerLoginTest
KcOidcMultipleTabsBrokerTest
LoginPageTest
RefreshTokenTest
RegisterWithUserProfileTest
RequiredActionUpdateProfileTest
RequiredActionUpdateProfileWithUserProfileTest
SAMLServletAdapterTest
ThemeSelectorTest
VerifyProfileTest
X509BrowserLoginTest

0 comments on commit 3caf2a2

Please sign in to comment.