Skip to content

fix(#59): add make docker-integration target for local Docker validation#69

Closed
longieirl wants to merge 1 commit intomainfrom
fix/59-docker-integration-local
Closed

fix(#59): add make docker-integration target for local Docker validation#69
longieirl wants to merge 1 commit intomainfrom
fix/59-docker-integration-local

Conversation

@longieirl
Copy link
Copy Markdown
Owner

Summary

Closes the local Docker testing gap identified in #59 — without touching CI.

Changes

  • Makefile: new docker-integration target — builds the image, mounts input/ read-only, runs the container, asserts ≥1 transaction extracted, then cleans up. Fails fast with a clear message if input/ has no PDFs.
  • PR template: adds a conditional checklist item prompting contributors to run make docker-integration when touching Dockerfile, entrypoint.sh, docker-compose.yml, or packages/parser-core/.

Type

  • New feature

Testing

  • Tests pass (coverage ≥ 91%)
  • Manually tested
  • make docker-integration passed locally (required when touching Dockerfile, entrypoint.sh, docker-compose.yml, or packages/parser-core/)

Checklist

  • Code follows project style
  • Self-reviewed
  • Documentation updated (if needed)
  • No new warnings

Adds a local-only Docker integration test that builds the image and runs
the container against input/, asserting non-zero transaction output.
PR template updated to prompt contributors to run it when touching the
pipeline or Docker config.
@github-actions github-actions bot added the bug Something isn't working label Mar 26, 2026
@longieirl
Copy link
Copy Markdown
Owner Author

Closing to rework — docker-integration target needs proper snapshot comparison logic aligned with pytest -m integration. See issue #59.

@longieirl longieirl closed this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants