Skip to content

Commit

Permalink
fix matrix?
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed May 5, 2024
1 parent 330d7ab commit a9e6d1c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a9e6d1c

Please sign in to comment.