ci: update test video path pattern to include nested directories
This commit is contained in:
parent
275d15f68f
commit
8f9d027b79
27
.github/workflows/wc-e2e-test.yaml
vendored
27
.github/workflows/wc-e2e-test.yaml
vendored
@ -46,9 +46,9 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-videos
|
name: test-videos-room-functionality
|
||||||
path: |
|
path: |
|
||||||
frontend/webcomponent/test-results/*/*.webm
|
frontend/webcomponent/test-results/
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
if: always()
|
if: always()
|
||||||
@ -95,9 +95,9 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-videos
|
name: test-videos-events-functionality
|
||||||
path: |
|
path: |
|
||||||
frontend/webcomponent/test-results/*/*.webm
|
frontend/webcomponent/test-results/
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
if: always()
|
if: always()
|
||||||
@ -144,9 +144,9 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-videos
|
name: test-videos-webhooks-functionality
|
||||||
path: |
|
path: |
|
||||||
frontend/webcomponent/test-results/*/*.webm
|
frontend/webcomponent/test-results/
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
if: always()
|
if: always()
|
||||||
@ -194,9 +194,9 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-videos
|
name: test-videos-ui-features
|
||||||
path: |
|
path: |
|
||||||
frontend/webcomponent/test-results/*/*.webm
|
frontend/webcomponent/test-results/
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
if: always()
|
if: always()
|
||||||
@ -240,13 +240,20 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RUN_MODE: CI
|
RUN_MODE: CI
|
||||||
PLAYWRIGHT_BROWSERS_PATH: /tmp/ms-playwright
|
PLAYWRIGHT_BROWSERS_PATH: /tmp/ms-playwright
|
||||||
|
- name: List test results directory
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
echo "Listing test-results directory:"
|
||||||
|
ls -la frontend/webcomponent/test-results/ || echo "test-results directory not found"
|
||||||
|
echo "Finding all .webm files:"
|
||||||
|
find frontend/webcomponent/ -name "*.webm" -type f || echo "No .webm files found"
|
||||||
- name: Upload failed test videos
|
- name: Upload failed test videos
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-videos
|
name: test-videos-recording-access
|
||||||
path: |
|
path: |
|
||||||
frontend/webcomponent/test-results/*/*.webm
|
frontend/webcomponent/test-results/
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
- name: Dump OpenVidu Local Deployment logs
|
- name: Dump OpenVidu Local Deployment logs
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user