Skip to content

[P1] GitHub Actions CI (install + lint + test matrix) #13

Closed

Description

@pro-utkarshM

Tasks

Acceptance

CI green on PRs; install/import breakage fails the build.

Activity

  1. added this to the v0.1 completion milestone on May 25, 2026
  2. pro-utkarshM commented on Oct 15, 2026

    @pro-utkarshM
    MemberAuthor

    Partly done. .github/workflows/ci.yml runs on every push and pull request.

    • Fresh install with pip install -e ".[dev]" (Python 3.12)
    • code2test --help smoke step
    • pytest with scripted models (no API calls), 113 tests
    • Python 3.13 in a matrix. The suite passes locally on 3.13, but CI only runs 3.12.
    • Lint and format check. ruff and black are in the dev extras, but CI doesn't run them, and the inherited code hasn't been checked against them yet.

    Keeping this open for the last two items.


    Generated by Claude Code

  3. pro-utkarshM commented on Oct 15, 2026

    @pro-utkarshM
    MemberAuthor

    Done in #22.

    • Fresh install with pip install -e ".[dev]" on Python 3.12 and 3.13 (matrix, fail-fast off)
    • code2test --help smoke step
    • pytest with scripted models: 117 tests
    • Lint and format check: a lint job runs ruff check and ruff format --check on code2test, tests and research/scripts

    ruff uses an explicit error-level rule set (E4, E7, E9, F) and is pinned to 0.17.x, so CI does not change with ruff releases. black was dropped in favor of ruff format. The existing code was fixed and reformatted in separate commits. The reformatted files' ASTs are unchanged apart from docstrings, and every command's --help output is identical.

    All jobs passed on the merged head.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Core feature / high priority

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions