diff --git a/.github/actions/install-chrome/action.yml b/.github/actions/install-chrome/action.yml deleted file mode 100644 index 35c097097d..0000000000 --- a/.github/actions/install-chrome/action.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Install Chrome browser and driver for Testing -description: Download and install the latest available Chrome for Testing and Chromedriver - -runs: - using: composite - steps: - - id: cache-chrome-browser - name: Chrome browser cache - uses: actions/cache@v4 - with: - path: ./chrome - key: chrome - - - id: cache-chromedriver - name: Chrome driver cache - uses: actions/cache@v4 - with: - path: ./chromedriver - key: chromedriver - - - id: install-chrome - name: Install Chrome - shell: bash - run: | - sudo apt-get remove google-chrome-stable - npx @puppeteer/browsers install chrome - npx @puppeteer/browsers install chromedriver - # In case there's more than one version of each package, let's use only the latest - LATEST_CHROME=$(ls -td $PWD/chrome/*/ | head -1) - LATEST_CHROMEDRIVER=$(ls -td $PWD/chromedriver/*/ | head -1) - sudo ln -s -f "${LATEST_CHROME}chrome-linux64/chrome" /usr/bin/google-chrome-stable - sudo cp -u "${LATEST_CHROMEDRIVER}chromedriver-linux64/chromedriver" $CHROMEWEBDRIVER/ - # Remove any older version of browser or driver so we don't keep it in the cache - cd chrome - rm -R $(ls -lt | grep '^d' | tail -1 | tr " " "\n" | tail -1) - cd ../chromedriver - rm -R $(ls -lt | grep '^d' | tail -1 | tr " " "\n" | tail -1) - cd .. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6929f551a1..23886df886 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,7 +114,7 @@ jobs: run: | TESTS=`testsuite/integration-arquillian/tests/base/testsuites/base-suite.sh ${{ matrix.group }}` echo "Tests: $TESTS" - ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh + ./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() @@ -155,7 +155,7 @@ jobs: run: | TESTS="org.keycloak.testsuite.adapter.**" echo "Tests: $TESTS" - ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Papp-server-wildfly "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" -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 -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh - name: Upload JVM Heapdumps if: always() @@ -697,7 +697,7 @@ jobs: run: | TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh forms` echo "Tests: $TESTS" - ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=$TESTS -Dbrowser=${{ matrix.browser }} "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" "-Dwebdriver.gecko.driver=$GECKOWEBDRIVER/geckodriver" -f testsuite/integration-arquillian/tests/base/pom.xml 2>&1 | misc/log/trimmer.sh + ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=$TESTS -Dbrowser=${{ matrix.browser }} -f testsuite/integration-arquillian/tests/base/pom.xml 2>&1 | misc/log/trimmer.sh - name: Upload JVM Heapdumps if: always() @@ -739,7 +739,7 @@ jobs: run: | TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh webauthn` echo "Tests: $TESTS" - ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=$TESTS -Dbrowser=${{ matrix.browser }} "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" "-Dwebdriver.gecko.driver=$GECKOWEBDRIVER/geckodriver" -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh + ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=$TESTS -Dbrowser=${{ matrix.browser }} -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh - name: Upload JVM Heapdumps if: always()