mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 00:34:09 +00:00
## Summary Skip unit and e2e tests when PRs only contain markdown file changes. ## Changes - Add `paths-ignore: ['**/*.md']` to `push` and `pull_request` triggers in ci-tests-unit.yaml and ci-tests-e2e.yaml - Manual `workflow_dispatch` trigger preserved for e2e tests ## Testing Create a PR with only `.md` changes to verify both test workflows are skipped. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9125-ci-skip-unit-and-e2e-tests-for-markdown-only-changes-3106d73d365081bea0dcc06b608a87fc) by [Unito](https://www.unito.io)
28 lines
582 B
YAML
28 lines
582 B
YAML
# Description: Unit and component testing with Vitest
|
|
name: 'CI: Tests Unit'
|
|
|
|
on:
|
|
push:
|
|
branches: [main, master, dev*, core/*, desktop/*]
|
|
paths-ignore: ['**/*.md']
|
|
pull_request:
|
|
branches-ignore: [wip/*, draft/*, temp/*]
|
|
paths-ignore: ['**/*.md']
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Setup frontend
|
|
uses: ./.github/actions/setup-frontend
|
|
|
|
- name: Run Vitest tests
|
|
run: pnpm test:unit
|