[TASK] Add CI workflow: lint, typecheck, tests - #32
Merged
Conversation
rbehal
approved these changes
Jul 23, 2026
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.
Changes
.github/workflows/ci.ymlrunning onpull_requestand pushes tomain, with a per-ref concurrency group that cancels in-progress runs and a minimalpermissions: contents: readblock.lintjob (Python 3.12):uv sync --frozen,ruff format --check .,ruff check .,uv lock --check, plussh -n/bash -nsyntax checks onscripts/install.sh.typecheckjob (Python 3.12):uv run --frozen pyright.testjob: matrix across Python 3.10–3.13,uv run --frozen pytest -m "not live" -n auto(fail-fast: false).release.yml(actions/checkoutv7,astral-sh/setup-uvv9.0.0) with setup-uv caching enabled.livemarker:tests/integration/test_live.pydocumented itself as live-only but never applied the marker, so-m "not live"didn't deselect it and its fixtures failed in any environment without API credentials. Added module-levelpytestmark = pytest.mark.live— marker wiring only, no test logic changed.ruff format(14 files), fixed the 8ruff checkerrors (UP035/UP045/I001 autofixed, E501s resolved by formatting), and the 4 pyright errors intests/sdk/(None-narrowing intest_agents.py,dict[str, Any]parametrize annotation intest_client.py,type: ignore[arg-type]for the intentional dict-message coercion intest_chat.py). Mechanical fixes only.Commands mirror
scripts/check, split into jobs so tests can run as a matrix and CI can excludelivetests (whichscripts/checkdoes not).Testing
uv sync --frozen,ruff format --check .(109 files clean),ruff check .(all checks passed),pyright(0 errors),uv lock --check,sh -n/bash -n scripts/install.sh— all green.pytest -m "not live" -n autoin a CI-equivalent env (no.env, noGUMLOOP_*env vars): 407 passed, 0 failed, 0 errors, 19 deselected (all oftests/integration/test_live.py, now correctly excluded by thelivemarker).