ci: update Playwright workflow to improve test execution and reporting

This commit is contained in:
Richard R 2026-06-05 10:20:49 -06:00
parent df7e0a5737
commit 2f99b3987e

View file

@ -7,8 +7,12 @@ on:
jobs:
e2e-testing:
timeout-minutes: 60
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [chromium, firefox, webkit]
env:
USE_EMBEDDED_WEED_MINI: true
ENABLE_TEST_NAMESPACE: true
@ -57,10 +61,12 @@ jobs:
env:
API_BASE: https://api.deepinfra.com/v1/openai
API_KEY: ${{ secrets.DEEPINFRA_API_KEY }}
run: pnpm exec playwright test --reporter=list,github,html
run: pnpm exec playwright test --project=${{ matrix.project }} --max-failures=5 --reporter=list,github,html
- uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
if: ${{ always() }}
with:
name: playwright-report
path: playwright-report/
name: playwright-report-${{ matrix.project }}
path: |
playwright-report/
tests/results/
retention-days: 30