Repository navigation
Add CI: ruff lint and pytest on Python 3.10-3.13 - #2
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonandrewj
approved these changes
Oct 15, 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.
Summary
Add a CI workflow. It runs on each pull request and on each push to
main. Before this, the only workflow was the PyPI publish onv*tags.What runs
ruff check .on Python 3.12.pytest -qon Python 3.10, 3.11, 3.12 and 3.13 (fromrequires-python = ">=3.10"), onubuntu-latest. Install ispip install -e ".[dev]". Thedevextra already haspytest,pytest-asyncioandruff.mainhas no tests yet. Every other non-zero code fails the job.permissions: contents: read, pip cache on, andconcurrencycancels older runs on the same ref.ruff format --checkis not in the workflow. Six source files are not format-clean onmain. Reformat them in a separate PR, then add the check.No source changes.
ruff check .already passes onmain.PR #1
When #1 merges, its
tests/test_server_config.pyruns in this job. Rebase #1 on this branch to get CI on #1 before it merges.Testing
pip install -e ".[dev]",ruff check .passes,pytest -qexits 5 and the workflow step converts it to 0.actionlintv1.7.7: no findings.Agent handoff
claude/ci-tests. One file:.github/workflows/ci.yml.ruff format .and addruff format --check .to the lint job. When tests exist, remove the exit-code-5 rule. Makelintandtestrequired checks in branch protection (repo admin).pyproject.tomlclassifiers list 3.10 to 3.12 only. The matrix also tests 3.13.🤖 Generated with Claude Code