feat(ci): run cypress tests in parallel
This commit is contained in:
parent
410ad13a70
commit
d472e043c5
|
|
@ -267,6 +267,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- api-build
|
||||
strategy:
|
||||
# when one test fails, DO NOT cancel the other
|
||||
# containers, because this will kill Cypress processes
|
||||
# leaving Cypress Cloud hanging ...
|
||||
# https://github.com/cypress-io/github-action/issues/48
|
||||
fail-fast: false
|
||||
matrix:
|
||||
containers: [1, 2, 3, 4, 5]
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
- uses: ./.github/actions/setup-frontend
|
||||
|
|
@ -294,6 +302,7 @@ jobs:
|
|||
working-directory: frontend
|
||||
browser: chrome
|
||||
record: true
|
||||
parallel: true
|
||||
start: |
|
||||
pnpm run preview
|
||||
wait-on: http://127.0.0.1:4173,http://127.0.0.1:3456/api/v1/info
|
||||
|
|
|
|||
Loading…
Reference in New Issue