Skip to content

Add GitHub Actions CI to run tests on PRs - #10

Merged
alexcwatt merged 2 commits into
mainfrom
ci-github-actions
May 18, 2026
Merged

Add GitHub Actions CI to run tests on PRs#10
alexcwatt merged 2 commits into
mainfrom
ci-github-actions

Conversation

@alexcwatt

Copy link
Copy Markdown
Owner

Summary

Adds .github/workflows/ci.yml, a single-job workflow that installs Poetry, syncs the project dependencies, and runs poetry run pytest on:

  • every pull request, so we catch regressions before merge
  • every push to main, so the post-merge state is also tracked

actions/setup-python's built-in pip cache is enabled to keep installs fast.

Test plan

  • This PR itself should be the proof — the CI check needs to run and pass on this PR.

🤖 Generated with Claude Code

alexcwatt and others added 2 commits May 18, 2026 07:20
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>
@alexcwatt
alexcwatt merged commit 6053a74 into main May 18, 2026
1 check passed
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