Skip to content

Commit

Permalink
test-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed May 5, 2024
1 parent f95f5ea commit 7165dcc
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ jobs:
browser: ['chromium', 'firefox']
editor-mode: ['rich-text', 'plain-text']
events-mode: ['legacy-events', 'modern-events']
test-prefix: ['test-e2e']
include:
- os: macos-latest
browser: webkit
Expand Down Expand Up @@ -125,7 +124,7 @@ jobs:
path: ${{ env.cache_playwright_path }}
key: ${{ steps.playwright-cache.outputs.cache-primary-key }}
- name: Run tests
run: npm run ${{ matrix.test-prefix }}-${{ matrix.editor-mode == 'rich-text-with-collab' && 'collab-' || '' }}ci-${{ matrix.browser }}
run: npm run test-e2e-ci-${{ matrix.browser }}
- name: Upload Artifacts
if: failure()
uses: actions/upload-artifact@v4
Expand All @@ -143,7 +142,6 @@ jobs:
browser: ['chromium', 'firefox']
editor-mode: ['rich-text-with-collab']
events-mode: ['modern-events']
test-prefix: ['test-e2e']
include:
- os: macos-latest
browser: webkit
Expand Down Expand Up @@ -183,7 +181,7 @@ jobs:
path: ${{ env.cache_playwright_path }}
key: ${{ steps.playwright-cache.outputs.cache-primary-key }}
- name: Run tests
run: npm run ${{ matrix.test-prefix }}-${{ matrix.editor-mode == 'rich-text-with-collab' && 'collab-' || '' }}ci-${{ matrix.browser }}
run: npm run test-e2e-collab-ci-${{ matrix.browser }}
- name: Upload Artifacts
if: failure()
uses: actions/upload-artifact@v4
Expand All @@ -201,7 +199,6 @@ jobs:
browser: ['chromium']
editor-mode: ['rich-text', 'plain-text', 'rich-text-with-collab']
events-mode: ['modern-events']
test-prefix: ['test-e2e-prod']
include:
- os: macos-latest
browser: webkit
Expand Down Expand Up @@ -236,7 +233,7 @@ jobs:
path: ${{ env.cache_playwright_path }}
key: ${{ steps.playwright-cache.outputs.cache-primary-key }}
- name: Run tests
run: npm run ${{ matrix.test-prefix }}-${{ matrix.editor-mode == 'rich-text-with-collab' && 'collab-' || '' }}ci-${{ matrix.browser }}
run: npm run test-e2e-${{ matrix.editor-mode == 'rich-text-with-collab' && 'collab-prod' || 'prod' }}-ci-${{ matrix.browser }}
- name: Upload Artifacts
if: failure()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7165dcc

Please sign in to comment.