From a9e6d1cdd5b960c129d7433ac7f97a0a3d79eaaf Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sat, 4 May 2024 18:55:37 -0700 Subject: [PATCH] fix matrix? --- .github/workflows/test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4050fe04d30..80ca6daf9d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -85,12 +85,12 @@ jobs: browser: ['chromium', 'firefox'] editor-mode: ['rich-text', 'plain-text'] events-mode: ['legacy-events', 'modern-events'] - prod-prefix: [''] + test-prefix: ['test-e2e-'] include: - browser: chromium events-mode: modern-events os: macos-latest - prod-prefix: prod- + test-prefix: test-e2e-prod - events-mode: modern-events editor-mode: rich-text-with-collab - os: macos-latest @@ -143,8 +143,7 @@ jobs: path: ${{ matrix.playwright-cache }} key: ${{ steps.playwright-cache.outputs.cache-primary-key }} - name: Run tests - run: npm run test-e2e-${{ matrix.prod-prefix }}${{ matrix.editor-mode == 'rich-text-with-collab' && 'collab-' || '' }}ci-${{ matrix.browser }} - if: matrix.editor-mode != 'rich-text-with-collab' + run: npm run ${{ matrix.test-prefix }}${{ matrix.editor-mode == 'rich-text-with-collab' && 'collab-' || '' }}ci-${{ matrix.browser }} - name: Upload Artifacts if: failure() uses: actions/upload-artifact@v4