Skip to content

ci: GitHub Actions CI pipeline - #40

Merged
getdownandcode merged 2 commits into
mainfrom
ci/github-actions-pipeline
Sep 29, 2026
Merged

getdownandcode merged 2 commits into
mainfrom
ci/github-actions-pipeline

Conversation

@getdownandcode

Copy link
Copy Markdown
Owner

Description

This PR implements the automated GitHub Actions CI pipeline in .github/workflows/ci.yml for Milestone 11 Task 3 (M11-T03).

Changes

  • Workflow trigger on push to main and all pull requests to main
  • Concurrency group with cancel-in-progress: true to avoid duplicate runs
  • lint job: Checks out repo, configures Python 3.12, installs dev dependencies, and runs ruff check ., ruff format --check ., and mypy agentkit tests
  • test job: Runs across Python matrix (3.11, 3.12) with postgres:16-alpine and redis:7-alpine service containers with healthchecks
  • Runs database migrations via alembic upgrade head
  • Runs pytest with coverage enforcement (--cov=agentkit --cov-fail-under=85) and XML coverage artifact upload

Verification

  • Local lint, format check, and mypy pass with 0 errors
  • 225 pytest tests passing with 92% coverage

- Configure GitHub Actions workflow on push and pull_request to main
- Set up Python 3.12 runner with pip caching
- Add ruff linter, ruff formatter, and mypy type checks
…ontainers

- Add test job across Python 3.11 and 3.12 matrix
- Attach postgres:16-alpine and redis:7-alpine services with healthchecks
- Run database migrations via alembic upgrade head
- Execute pytest with coverage threshold enforcement (>=85%) and xml artifact upload

@getdownandcode getdownandcode left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review: CI workflow in .github/workflows/ci.yml satisfies M11-T03 criteria completely with lint, format, typecheck, postgres/redis services, alembic migrations, and coverage enforcement.

@getdownandcode
getdownandcode merged commit 827262f into main Sep 29, 2026
1 check passed
@getdownandcode
getdownandcode deleted the ci/github-actions-pipeline branch September 29, 2026 17:52
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