8 Commits
Author SHA1 Message Date
Oliver Switzer ece61c4057 Add system deps in CI for Pillow 2025-09-07 00:59:28 -04:00
Oliver Switzer a18c6143de fix(ci): correct YAML syntax and update deprecated GitHub Actions
YAML Syntax Fix:
- Fix malformed indentation on line 60 (missing proper step structure)
- Ensure all steps are properly aligned and formatted

GitHub Actions Updates:
- actions/setup-python@v4 → v5 (latest stable)
- pdm-project/setup-pdm@v3 → v4 (latest stable)
- actions/cache@v3 → v4 (latest stable)
- actions/upload-artifact@v3 → v4 (fixes deprecation error)

The workflow should now run without syntax errors or deprecation warnings.
2025-08-11 09:18:42 -04:00
Oliver Switzer 24286dd868 fix(ci): use format-check instead of format to fail on unformatted code
CRITICAL FIX for CI workflow:

- Add 'pdm format-check' command that uses 'black --check --diff .'
- Update 'pdm ci' to use 'format-check' instead of 'format'
- CI now FAILS when code is not formatted (instead of silently fixing)
- Maintains separation between checking (CI) and fixing (local dev)

Commands available:
- 'pdm format' - fixes formatting issues locally
- 'pdm format-check' - checks formatting, fails if not formatted
- 'pdm ci' - runs format-check + test + lint (fails on any issue)

Before: CI would format code and pass ❌
After: CI fails on unformatted code, requires manual fix ✅

This ensures contributors format their code before pushing!
2025-08-11 09:17:54 -04:00
Oliver Switzer 744a9a706f ci: add GitHub Actions workflow for automated testing and code quality
- Uses existing 'pdm ci' command for consistency between local and CI
- Runs on pushes to main and pull requests
- Includes dependency caching for faster CI runs
- Supports manual triggering via GitHub Actions UI
- Uploads test artifacts for debugging failed runs

Workflow checks:
✅ Code formatting (black)
✅ Unit tests (pytest) - 56 tests, 10/10 pylint score
✅ Code quality (pylint)

Local usage: 'pdm ci' - same checks as CI
2025-08-11 09:13:54 -04:00
Oliver Switzer 0fd7602fa3 fix: update GitHub Actions release workflow to improve version verification and add token for checkout 2025-08-06 14:04:31 -04:00
Oliver Switzer 8094025e20 Enhance GitHub Actions release workflow with version verification and propagation wait. Update input descriptions to use single quotes for consistency. 2025-08-06 13:48:29 -04:00
Oliver Switzer 5e113c3515 Implement automated release workflow in GitHub Actions and update README with detailed publishing instructions.
Remove old publish action and introduce new release process using conventional commits for versioning.
2025-08-06 13:26:47 -04:00
Oliver Switzer 78df6b4a1c Add pyproject.toml and GitHub Actions workflow for publishing to ComfyUI Registry. Update README with detailed publishing instructions and improved descriptions for clarity. 2025-08-06 12:55:24 -04:00