ci(playwright): simplify workflow by removing test matrix for browsers
Eliminate the Playwright test matrix to run all browser projects in a single job. Consolidate report artifact naming and streamline workflow configuration for faster and more maintainable CI execution.
This commit is contained in:
parent
0e29450b0d
commit
328dbbbb62
1 changed files with 2 additions and 6 deletions
8
.github/workflows/playwright.yml
vendored
8
.github/workflows/playwright.yml
vendored
|
|
@ -9,10 +9,6 @@ jobs:
|
||||||
e2e-testing:
|
e2e-testing:
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
project: [chromium, firefox, webkit]
|
|
||||||
env:
|
env:
|
||||||
USE_EMBEDDED_WEED_MINI: true
|
USE_EMBEDDED_WEED_MINI: true
|
||||||
ENABLE_TEST_NAMESPACE: true
|
ENABLE_TEST_NAMESPACE: true
|
||||||
|
|
@ -61,11 +57,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
API_BASE: https://api.deepinfra.com/v1/openai
|
API_BASE: https://api.deepinfra.com/v1/openai
|
||||||
API_KEY: ${{ secrets.DEEPINFRA_API_KEY }}
|
API_KEY: ${{ secrets.DEEPINFRA_API_KEY }}
|
||||||
run: pnpm exec playwright test --project=${{ matrix.project }} --max-failures=5 --reporter=list,github,html
|
run: pnpm exec playwright test --max-failures=5 --reporter=list,github,html
|
||||||
- uses: actions/upload-artifact@v7
|
- uses: actions/upload-artifact@v7
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
name: playwright-report-${{ matrix.project }}
|
name: playwright-report
|
||||||
path: |
|
path: |
|
||||||
playwright-report/
|
playwright-report/
|
||||||
tests/results/
|
tests/results/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue