diff --git a/.github/workflows/e2e_matrix.yml b/.github/workflows/e2e_matrix.yml new file mode 100644 index 0000000000..31e48d7e38 --- /dev/null +++ b/.github/workflows/e2e_matrix.yml @@ -0,0 +1,17 @@ +jobs: + e2e-matrix: + strategy: + fail-fast: false + matrix: + subproject: [ caselaw, shared ] + browser: [ chromium, firefox ] + mode: [ e2e ] + include: + - mode: a11y + browser: a11y + uses: ./.github/workflows/_playwright-test.yml + with: + subproject: ${{ matrix.subproject}} + browser: ${{ matrix.browser }} + mode: ${{ matrix.mode }} + secrets: inherit diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 93972eb150..8e496ac13c 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -364,20 +364,8 @@ jobs: group: deploy-staging cancel-in-progress: true needs: [ deploy-staging, prep-playwright-tests ] - strategy: - fail-fast: false - matrix: - subproject: [ caselaw, shared ] - browser: [ chromium, firefox ] - mode: [ e2e ] - include: - - mode: a11y - browser: a11y - uses: ./.github/workflows/_playwright-test.yml - with: - subproject: ${{ matrix.subproject}} - browser: ${{ matrix.browser }} - mode: ${{ matrix.mode }} + # We do not include the matrix directly, so that the concurrency group does not apply to each matrix job individually + uses: ./.github/workflows/e2e_matrix.yml secrets: inherit query-performance-tests: