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 01d8d9c commit f95f5ea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
browser: ['chromium', 'firefox']
editor-mode: ['rich-text', 'plain-text']
events-mode: ['legacy-events', 'modern-events']
test-prefix: ['test-e2e-']
test-prefix: ['test-e2e']
include:
- os: macos-latest
browser: webkit
Expand Down Expand Up @@ -125,7 +125,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 ${{ 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 All @@ -143,7 +143,7 @@ jobs:
browser: ['chromium', 'firefox']
editor-mode: ['rich-text-with-collab']
events-mode: ['modern-events']
test-prefix: ['test-e2e-']
test-prefix: ['test-e2e']
include:
- os: macos-latest
browser: webkit
Expand Down Expand Up @@ -183,13 +183,13 @@ 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 ${{ matrix.test-prefix }}-${{ matrix.editor-mode == 'rich-text-with-collab' && 'collab-' || '' }}ci-${{ matrix.browser }}
- name: Upload Artifacts
if: failure()
uses: actions/upload-artifact@v4
with:
name: Test Results
path: ${{ env.cache_playwright_path }}
path: ${{ env.test_results_path }}
retention-days: 7

e2e-prod:
Expand Down Expand Up @@ -236,7 +236,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 ${{ 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 f95f5ea

Please sign in to comment.