Repository navigation
ci: Add GitHub Actions CI/CD workflows (closes #8) - #10
Merged
Merged
Conversation
…tests - Lint job: ruff check and format - Unit tests: runs on Python 3.11 and 3.12, excludes integration/llm markers - Integration tests: runs on push/dispatch with OPENROUTER_API_KEY secret - Codecov integration for coverage reporting - Replaces simpler tests.yml
- docker-build.yml: Build, test, and push to GHCR - deploy/Dockerfile: Multi-stage build with uv for fast installs - Smoke tests container before pushing - Pushes to GHCR on main branch and tags
Critical fixes: - Dockerfile: Add src/version.py copy (required by hatchling) - Dockerfile: Use Python for healthcheck (no curl in slim image) Important fixes: - Dockerfile: Add non-root user for security - docker-build.yml: Use polling loop instead of hardcoded sleep - test.yml: Add warning annotation when integration tests skipped - test.yml: Clarify that integration tests skip on PRs
- Use python:3.12-slim-bullseye (consistent with HEDit) - Install curl for healthcheck (consistent with HEDit) - Same environment variables and uv approach - Port 38428 (distinct from HEDit's 38427)
9 tasks done
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Set up GitHub Actions for automated testing and deployment, following HEDit deployment patterns.
Workflows Added/Updated:
test.yml (new): Comprehensive test workflow
docker-build.yml (new): Docker build and push
deploy/Dockerfile (new): Production Docker image
publish.yml (existing): Already configured for PyPI publishing
Test plan
Closes #8