mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-16 20:15:46 -06:00
Fix and enable firefox-strict-cookies profile adapter tests
Closes #34853 Signed-off-by: rmartinc <rmartinc@redhat.com>
This commit is contained in:
46
.github/workflows/ci.yml
vendored
46
.github/workflows/ci.yml
vendored
@@ -143,7 +143,7 @@ jobs:
|
||||
name: Adapter IT
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 100
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -161,7 +161,7 @@ jobs:
|
||||
run: |
|
||||
TESTS="org.keycloak.testsuite.adapter.**"
|
||||
echo "Tests: $TESTS"
|
||||
./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Papp-server-wildfly -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh
|
||||
./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Papp-server-wildfly -Dtest=$TESTS -Dapp.server.ssl.required=true -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh
|
||||
|
||||
- name: Upload JVM Heapdumps
|
||||
if: always()
|
||||
@@ -180,6 +180,47 @@ jobs:
|
||||
with:
|
||||
job-id: adapter-integration-tests
|
||||
|
||||
adapter-integration-tests-strict-cookies:
|
||||
name: Adapter IT Strict Cookies
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- id: integration-test-setup
|
||||
name: Integration test setup
|
||||
uses: ./.github/actions/integration-test-setup
|
||||
|
||||
- name: Build adapter distributions
|
||||
run: ./mvnw install -DskipTests -f distribution/pom.xml
|
||||
|
||||
- name: Build app servers
|
||||
run: ./mvnw install -DskipTests -Pbuild-app-servers -f testsuite/integration-arquillian/servers/app-server/pom.xml
|
||||
|
||||
- name: Run adapter tests
|
||||
run: |
|
||||
TESTS="org.keycloak.testsuite.adapter.**"
|
||||
echo "Tests: $TESTS"
|
||||
./mvnw test ${{ env.SUREFIRE_RETRY }} -Pfirefox-strict-cookies -Pauth-server-quarkus -Papp-server-wildfly -Dtest=$TESTS -Dapp.server.ssl.required=true "-Dwebdriver.gecko.driver=$GECKOWEBDRIVER/geckodriver" -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: Base IT
|
||||
|
||||
- name: Surefire reports
|
||||
if: always()
|
||||
uses: ./.github/actions/archive-surefire-reports
|
||||
with:
|
||||
job-id: adapter-integration-tests-strict-cookies
|
||||
|
||||
quarkus-unit-tests:
|
||||
name: Quarkus UT
|
||||
needs: [build, conditional]
|
||||
@@ -1044,6 +1085,7 @@ jobs:
|
||||
- unit-tests
|
||||
- base-integration-tests
|
||||
- adapter-integration-tests
|
||||
- adapter-integration-tests-strict-cookies
|
||||
- quarkus-unit-tests
|
||||
- quarkus-integration-tests
|
||||
- jdk-integration-tests
|
||||
|
||||
Reference in New Issue
Block a user