mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
- Restrict triggers to main pushes + manual dispatch (no PR trigger) - Remove continue-on-error: true (upload-artifact if:always() suffices) - Use --workers=50% for runner-agnostic parallelism - Remove unused PLAYWRIGHT_BLOB_OUTPUT_DIR env var - Reduce retention-days from 30 to 7 Addresses review feedback: https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3054600467 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998502 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3054600470 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998527 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998533 https://github.com/Comfy-Org/ComfyUI_frontend/pull/10930#discussion_r3047998536
60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
name: 'CI: E2E Coverage'
|
|
|
|
on:
|
|
push:
|
|
branches: [main, core/*]
|
|
paths-ignore: ['**/*.md']
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: e2e-coverage-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
collect:
|
|
if: github.repository == 'Comfy-Org/ComfyUI_frontend'
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
container:
|
|
image: ghcr.io/comfy-org/comfyui-ci-container:0.0.16
|
|
credentials:
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup frontend
|
|
uses: ./.github/actions/setup-frontend
|
|
with:
|
|
include_build_step: true
|
|
|
|
- name: Start ComfyUI server
|
|
uses: ./.github/actions/start-comfyui-server
|
|
|
|
- name: Run Playwright tests with coverage
|
|
id: tests
|
|
run: >
|
|
COLLECT_COVERAGE=true
|
|
pnpm exec playwright test
|
|
--project=chromium
|
|
--workers=50%
|
|
|
|
- name: Upload coverage data
|
|
if: always()
|
|
uses: actions/upload-artifact@v6
|
|
with:
|
|
name: e2e-coverage
|
|
path: coverage/playwright/
|
|
retention-days: 7
|
|
if-no-files-found: warn
|