mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-27 11:29:53 +00:00
28 lines
554 B
YAML
28 lines
554 B
YAML
name: "CI: Python Validation"
|
|
description: "Validates Python code in tools/devtools directory"
|
|
|
|
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
|