fun w shards

This commit is contained in:
shamoon 2025-03-04 12:59:15 -08:00
parent 64fdc9a35d
commit 4a945d608e
No known key found for this signature in database

View File

@ -260,6 +260,8 @@ jobs:
if-no-files-found: warn if-no-files-found: warn
- -
name: Run Playwright e2e tests name: Run Playwright e2e tests
env:
JEST_JUNIT_OUTPUT_FILE: src-ui/junit-report-${{ matrix.shard-index }}.xml
run: cd src-ui && npx playwright test --shard ${{ matrix.shard-index }}/${{ matrix.shard-count }} run: cd src-ui && npx playwright test --shard ${{ matrix.shard-index }}/${{ matrix.shard-count }}
- -
name: Upload Playwright test results name: Upload Playwright test results
@ -274,8 +276,8 @@ jobs:
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: junit-report-${{ matrix.shard-index }}.xml name: junit-report-${{ matrix.shard-index }}
path: src-ui/junit.xml path: src-ui/junit-report-${{ matrix.shard-index }}.xml
retention-days: 7 retention-days: 7
tests-coverage-upload: tests-coverage-upload: