Run E2E tests for the Admin UI in parallel (#19163)
This commit is contained in:
parent
8b2352207c
commit
8c3d667894
1 changed files with 7 additions and 2 deletions
9
.github/workflows/js-ci.yml
vendored
9
.github/workflows/js-ci.yml
vendored
|
@ -194,11 +194,16 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
WORKSPACE: admin-ui
|
WORKSPACE: admin-ui
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
container: [1, 2, 3, 4, 5]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Google Chrome
|
- name: Install Google Chrome
|
||||||
uses: browser-actions/setup-chrome@v1
|
uses: browser-actions/setup-chrome@v1
|
||||||
|
with:
|
||||||
|
chrome-version: stable
|
||||||
|
|
||||||
- uses: ./.github/actions/npm-setup
|
- uses: ./.github/actions/npm-setup
|
||||||
with:
|
with:
|
||||||
|
@ -230,7 +235,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
install: false
|
install: false
|
||||||
record: true
|
record: true
|
||||||
parallel: false
|
parallel: true
|
||||||
browser: chrome
|
browser: chrome
|
||||||
wait-on: http://localhost:8080
|
wait-on: http://localhost:8080
|
||||||
working-directory: js/apps/admin-ui
|
working-directory: js/apps/admin-ui
|
||||||
|
@ -242,7 +247,7 @@ jobs:
|
||||||
- name: Upload server logs
|
- name: Upload server logs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: server-log
|
name: server-log-${{ matrix.container }}
|
||||||
path: ~/server.log
|
path: ~/server.log
|
||||||
|
|
||||||
check-set-status:
|
check-set-status:
|
||||||
|
|
Loading…
Reference in a new issue