Conditionally execute WebAuthn tests when Account console UI is changed

Closes #30026

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
This commit is contained in:
Martin Bartoš 2024-05-31 12:23:04 +02:00 committed by Alexander Schwartz
parent 068ce5a61f
commit bfde73b327
3 changed files with 17 additions and 10 deletions

View file

@ -11,14 +11,17 @@ outputs:
description: Should "ci.yml" execute
value: ${{ steps.changes.outputs.ci }}
ci-quarkus:
description: Should "ci.yml" execute
description: Should "ci.yml" execute (Quarkus)
value: ${{ steps.changes.outputs.ci-quarkus }}
ci-store:
description: Should "ci.yml" execute
description: Should "ci.yml" execute (Store)
value: ${{ steps.changes.outputs.ci-store }}
ci-sssd:
description: Should "ci.yml" execute
description: Should "ci.yml" execute (SSSD)
value: ${{ steps.changes.outputs.ci-sssd }}
ci-webauthn:
description: Should "ci.yml" execute (WebAuthn)
value: ${{ steps.changes.outputs.ci-webauthn }}
operator:
description: Should "operator-ci.yml" execute
value: ${{ steps.changes.outputs.operator }}

View file

@ -7,20 +7,20 @@
.github/scripts/ansible/ ci-store
.github/scripts/aws/ ci-store
.github/workflows/ci.yml ci ci-quarkus ci-store ci-sssd
.github/workflows/ci.yml ci ci-quarkus ci-store ci-sssd ci-webauthn
.github/workflows/operator-ci.yml operator
.github/workflows/js-ci.yml js
.github/workflows/codeql-analysis.yml codeql-java codeql-themes
.github/workflows/guides.yml guides
.github/workflows/documentation.yml documentation
.mvn/ ci ci-quarkus ci-store ci-sssd operator js codeql-java codeql-themes guides documentation
mvnw ci ci-quarkus ci-store ci-sssd operator js codeql-java codeql-themes guides documentation
mvnw.cmd ci ci-quarkus ci-store ci-sssd operator js codeql-java codeql-themes guides documentation
.mvn/ ci ci-quarkus ci-store ci-sssd ci-webauthn operator js codeql-java codeql-themes guides documentation
mvnw ci ci-quarkus ci-store ci-sssd ci-webauthn operator js codeql-java codeql-themes guides documentation
mvnw.cmd ci ci-quarkus ci-store ci-sssd ci-webauthn operator js codeql-java codeql-themes guides documentation
*/src/main/ ci operator
*/src/test/ ci operator
pom.xml ci ci-quarkus ci-store operator
*/src/main/ ci ci-webauthn operator
*/src/test/ ci ci-webauthn operator
pom.xml ci ci-quarkus ci-store ci-webauthn operator
federation/sssd/ ci ci-sssd
quarkus/ ci-quarkus guides
@ -33,6 +33,8 @@ docs/documentation/ documentation
js/ js
rest/admin-ui-ext/ js
js/apps/account-ui/ ci ci-webauthn
js/libs/ui-shared/ ci ci-webauthn
*.java codeql-java
themes/ codeql-themes

View file

@ -32,6 +32,7 @@ jobs:
ci-quarkus: ${{ steps.conditional.outputs.ci-quarkus }}
ci-store: ${{ steps.conditional.outputs.ci-store }}
ci-sssd: ${{ steps.conditional.outputs.ci-sssd }}
ci-webauthn: ${{ steps.conditional.outputs.ci-webauthn }}
ci-store-matrix: ${{ steps.conditional-stores.outputs.matrix }}
steps:
- uses: actions/checkout@v4
@ -677,6 +678,7 @@ jobs:
webauthn-integration-tests:
name: WebAuthn IT
if: needs.conditional.outputs.ci-webauthn == 'true'
runs-on: ubuntu-latest
needs: build
timeout-minutes: 45