Files
ComfyUI_frontend/.github/workflows/ci-tests-e2e-coverage.yaml
2026-04-08 18:16:04 -07:00

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