Files
ComfyUI_frontend/.github/workflows/ci-python-validation.yaml
snomiao d372cd1d02 [feat] align CI workflow names with filename standard
Update all CI workflow names to follow "CI: <Description>" pattern
for 1:1 correspondence with filenames as suggested by @benceruleanlu:

- ci-json-validation.yaml → "CI: JSON Validation"
- ci-lint-format.yaml → "CI: Lint Format"
- ci-python-validation.yaml → "CI: Python Validation"
- ci-tests-e2e.yaml → "CI: Tests E2E"
- ci-tests-unit.yaml → "CI: Tests Unit"
- ci-tests-storybook.yaml → "CI: Tests Storybook"
- ci-tests-*-forks.yaml → "CI: Tests * Forks"

Also added explanation of JSON validation scope (all .json files
except tsconfig*.json) to address reviewer question.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 23:58:06 +00:00

27 lines
489 B
YAML

name: "CI: Python Validation"
on:
pull_request:
paths:
- 'tools/devtools/**'
push:
branches: [ main ]
paths:
- 'tools/devtools/**'
jobs:
syntax:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Validate Python syntax
run: python3 -m compileall -q tools/devtools