From d472e043c52f787b97d905828c8e3165b4dd5cad Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 15 May 2025 11:27:33 +0200 Subject: [PATCH] feat(ci): run cypress tests in parallel --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b527387b..e978f0d0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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