Added WebAuthn integration tests to CI workflow. (#16608)

This commit is contained in:
Miquel Simon
2023-02-13 13:28:25 +01:00
committed by GitHub
parent 998b708c78
commit 48a22ff2f3
5 changed files with 39 additions and 684 deletions

View File

@@ -502,6 +502,43 @@ jobs:
with:
job-name: Account Console IT
webauthn-integration-tests:
name: WebAuthn IT
runs-on: ubuntu-latest
needs: build
timeout-minutes: 30
strategy:
matrix:
browser: [firefox] # Chrome not working for now
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Setup firefox
uses: browser-actions/setup-firefox@latest
with:
firefox-version: latest
- run: firefox --version
- id: integration-test-setup
name: Integration test setup
uses: ./.github/actions/integration-test-setup
- name: Run WebAuthn IT
run: ./mvnw test -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }} -nsu -B -Pauth-server-quarkus -Dtest=org.keycloak.testsuite.webauthn.**.*Test -Dbrowser=${{ matrix.browser }} -Pwebauthn -f testsuite/integration-arquillian/tests/other/pom.xml | 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: WebAuthn IT
check-set-status:
name: Set check conclusion
needs:
@@ -516,6 +553,7 @@ jobs:
- fips-unit-tests
- fips-integration-tests
- account-console-integration-tests
- webauthn-integration-tests
runs-on: ubuntu-latest
outputs:
conclusion: ${{ steps.check.outputs.conclusion }}