Run E2E tests for the Admin UI in parallel (#19163)

This commit is contained in:
Jon Koops 2023-03-20 16:36:25 +01:00 committed by GitHub
parent 8b2352207c
commit 8c3d667894
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: