Skip to content

ci(cli): add GitHub Actions workflow - #115

Merged
el-amin-dev merged 2 commits into
mainfrom
feat/cli-ci
Jul 1, 2026
Merged

ci(cli): add GitHub Actions workflow#115
el-amin-dev merged 2 commits into
mainfrom
feat/cli-ci

Conversation

@el-amin-dev

Copy link
Copy Markdown
Owner

Summary

Adds .github/workflows/cli.yml running ruff, mypy, and pytest on every push to main and every PR touching cli/**. Matrix: Python 3.10, 3.12, 3.14.

Design

Choice Rationale
Path filter on cli/** Monorepo scoping; backend-only PRs skip this workflow
Matrix on 3.10 / 3.12 / 3.14 Floor (supported minimum), recent stable, latest
ubuntu-latest only Pure Python code, no OS-specific behavior
Cache pip via setup-python Repeat installs go from about 60s to under 10s
concurrency: cancel-in-progress Newer pushes to the same PR cancel older runs, saving runner minutes
Steps ordered ruff, mypy, pytest Fast-fail: cheapest checks first

Verification

Locally on Python 3.14: ruff clean, mypy clean, 114 pytest passed. First CI run on this PR will verify the workflow itself.

Follow-ups

  • Status badge in README (commit 2 of this PR after workflow proves green)
  • Backend CI in a separate PR (out of scope here)

Closes #114

@el-amin-dev
el-amin-dev merged commit 62d13ef into main Jul 1, 2026
3 checks passed
@el-amin-dev
el-amin-dev deleted the feat/cli-ci branch July 1, 2026 08:47
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.

ci(cli): add GitHub Actions workflow for lint, typecheck, and tests

1 participant