Skip to content

Add test suite, CI pipeline, and PyPI publishing - #4

Merged
kouya-marino merged 1 commit into
mainfrom
phase2/testing-and-ci
Apr 2, 2026
Merged

kouya-marino merged 1 commit into
mainfrom
phase2/testing-and-ci

Conversation

@kouya-marino

Copy link
Copy Markdown
Owner

Summary

  • 140 pytest tests covering all 8 pipeline modules, state management, settings, image I/O, and full integration scenarios
  • GitHub Actions CI: ruff lint/format + pytest across Python 3.9/3.11/3.12 + build verification
  • GitHub Actions publish workflow: triggered on v*.*.* tags, publishes to PyPI via trusted publishing
  • Dev dependencies (pytest, pytest-cov, ruff) added to pyproject.toml
  • All existing code formatted to pass ruff lint and format checks

Test coverage

Module Coverage
pipeline/* 97-100%
state/* 83-89%
utils 91%
constants 100%

Test plan

  • All 140 tests pass locally
  • ruff check + ruff format pass clean
  • Edge cases: single-pixel, large, all-black/white images
  • Parameter boundaries: min/max kernel sizes, gamma, cutoff freq
  • CI workflow runs on push (will verify after merge)

- 140 pytest tests covering all pipeline modules, state management,
  settings round-trip, image I/O, and full integration scenarios
- Edge case coverage: single-pixel, large, all-black/white images,
  parameter boundary values, even kernel auto-correction
- GitHub Actions CI workflow: ruff lint/format, pytest across
  Python 3.9/3.11/3.12, build verification
- GitHub Actions publish workflow: triggered on version tags,
  builds and publishes to PyPI via trusted publishing
- Dev dependencies added to pyproject.toml (pytest, pytest-cov, ruff)
- Code formatted with ruff to pass lint and format checks
@kouya-marino
kouya-marino merged commit 8722bcc into main Apr 2, 2026
1 of 4 checks passed
@kouya-marino
kouya-marino deleted the phase2/testing-and-ci branch April 2, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant