Skip to content

ENG-37: Add pull_request CI workflow (Ruff gate, then pytest on 3.11) - #4

Merged
asinglesprinkle merged 2 commits into
masterfrom
eng-37/add-pull-request-ci-workflow-for-forman-ruff-gate
Aug 3, 2026
Merged

asinglesprinkle merged 2 commits into
masterfrom
eng-37/add-pull-request-ci-workflow-for-forman-ruff-gate

Conversation

@asinglesprinkle

Copy link
Copy Markdown
Owner

Adds a net-new .github/workflows/ci.yml so every pull request gets an automated pass/fail signal.

  • on: contains only pull_request, with GitHub's default activity types (opened, synchronize, reopened).
  • Two jobs on ubuntu-latest: Lint (ruff check, then ruff format --check) and Test (pytest) with needs: lint, so pytest never runs if the lint gate fails.
  • actions/setup-python@v5 pinned to a single literal '3.11' — no matrix.
  • Dependencies installed with pip install -e ".[dev]". No secrets referenced.

Opened as a no-op PR to verify the workflow runs green and re-runs on subsequent commits. Not intended to be merged as part of the verification step; branch protection / required checks are explicitly out of scope.

🤖 Generated with Claude Code

asinglesprinkle and others added 2 commits August 3, 2026 12:11
Forman had no CI, so a pull request carried no automated signal.
This adds .github/workflows/ci.yml, triggered only on pull_request
with GitHub's default activity types.

Two jobs on ubuntu-latest, both pinned to Python 3.11 (the declared
floor in requires-python, even though local venvs run 3.14): a lint
job running `ruff check` then `ruff format --check`, and a test job
gated on it via `needs:`, so a lint failure means pytest never runs.
Splitting them gives two distinct check names in the PR UI.

pytest is invoked bare; testpaths and pythonpath in pyproject handle
discovery of the src-layout package. The suite is hermetic and the
only runtime dependency comes from PyPI, so the workflow needs no
secrets.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@asinglesprinkle
asinglesprinkle merged commit 6d74d81 into master Aug 3, 2026
2 checks passed
@asinglesprinkle
asinglesprinkle deleted the eng-37/add-pull-request-ci-workflow-for-forman-ruff-gate branch August 3, 2026 03:19
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