Add GitHub Actions CI to run tests on PRs - #10
Merged
Conversation
Adds a single-job workflow that installs Poetry, syncs dependencies, and runs the test suite on every pull request and on each push to main. Pip cache is enabled via setup-python to keep runs snappy. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The dev group was declared under [poetry.group.dev.dependencies] but Poetry only recognizes [tool.poetry.group.dev.dependencies]. Locally this went unnoticed because pytest already existed in the venv from an earlier install. CI from a clean cache caught it: "Command not found: pytest". Re-locking now actually pulls pytest (+ pluggy, iniconfig, pygments) into the lock file. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
Adds
.github/workflows/ci.yml, a single-job workflow that installs Poetry, syncs the project dependencies, and runspoetry run pyteston:main, so the post-merge state is also trackedactions/setup-python's built-in pip cache is enabled to keep installs fast.Test plan
🤖 Generated with Claude Code