Run Cypress tests in parallel again (#3537)
This commit is contained in:
parent
7f0b9edcf0
commit
6ccbdad3f2
1 changed files with 8 additions and 0 deletions
8
.github/workflows/cypress.yml
vendored
8
.github/workflows/cypress.yml
vendored
|
@ -14,6 +14,9 @@ on:
|
||||||
keycloakBranch:
|
keycloakBranch:
|
||||||
description: The branch to check out for the Keycloak repo (e.g. main).
|
description: The branch to check out for the Keycloak repo (e.g. main).
|
||||||
required: false
|
required: false
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
build-keycloak:
|
build-keycloak:
|
||||||
if: ${{ github.event_name != 'schedule' }}
|
if: ${{ github.event_name != 'schedule' }}
|
||||||
|
@ -81,6 +84,10 @@ jobs:
|
||||||
needs: [build-keycloak, install-nightly]
|
needs: [build-keycloak, install-nightly]
|
||||||
if: always() && ( needs.build-keycloak.result == 'success' || needs.install-nightly.result == 'success' )
|
if: always() && ( needs.build-keycloak.result == 'success' || needs.install-nightly.result == 'success' )
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
containers: [1, 2, 3, 4, 5]
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Admin UI
|
- name: Check out Admin UI
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -113,6 +120,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
install: false
|
install: false
|
||||||
record: true
|
record: true
|
||||||
|
parallel: true
|
||||||
browser: chrome
|
browser: chrome
|
||||||
wait-on: http://localhost:8080
|
wait-on: http://localhost:8080
|
||||||
working-directory: apps/admin-ui
|
working-directory: apps/admin-ui
|
||||||
|
|
Loading…
Reference in a new issue