Files
HDembinski-comfyui_plugins/.github/workflows/ci.yml
T
Hans Dembinski 9cfebb2c83 Add initial implementation of ComfyUI plugin structure and CI configuration
- Create README.md with project overview and setup instructions
- Implement CI workflow for linting and testing across multiple Python versions
- Add VS Code configuration files for development environment
- Define NativeImageSizesNode with size presets and dynamic class mappings
- Create utility functions for node registration in registry.py
- Set up project metadata in pyproject.toml and requirements-dev.txt
- Implement Windows helper script for linking to ComfyUI
- Add tests for NativeImageSizesNode functionality and dynamic mappings
2026-05-10 14:41:03 +02:00

40 lines
756 B
YAML

name: CI
on:
push:
branches:
- main
- master
pull_request:
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Lint
run: ruff check .
- name: Type check
run: ty check nodes
- name: Test
run: pytest