Add CI workflow for lint and tests on every PR#3
Merged
Conversation
Three jobs on every push to main and every PR: - lint: ruff check on src + tests - unit: pytest tests/unit on Python 3.12/3.13/3.14 - integration: pytest tests/integration on the same matrix with a Postgres 16 service container Postgres exposes 5532 to match the local conftest probe, so no env override is needed. The existing release.yml stays as the ship workflow; this is the per-PR gate it anticipated (see comment in release.yml).
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
.github/workflows/ci.ymlruns on every push to main and every PR.lint(ruff, single Python),unit(pytest tests/unit across 3.12/3.13/3.14),integration(pytest tests/integration across 3.12/3.13/3.14 with a Postgres 16 service container).The existing
release.ymlalready anticipated this gate (see its inline note). After merge, branch protection on main can require these checks.Test plan