ci: wire tests/test_dev_preview.py into CI#125
Merged
Conversation
The Day 2 dev-preview quickstart test (tests/test_dev_preview.py) was not covered by any workflow, so examples/dev-preview/ could rot undetected. Add a focused step to the existing Python job that installs the root package (pip install -e .) and runs the dev-preview test. The root install is required because the test importorskips `klickd` and the scripts exercise the editable root source tree. 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
tests/test_dev_preview.pywas not wired into any GitHub Actions workflow, leavingexamples/dev-preview/able to rot undetected.pythonjob in.github/workflows/test-vectors.ymlthat installs the root package (pip install -e .) and runstests/test_dev_preview.py.Why the root install
tests/test_dev_preview.pylives at repo root andimportorskip("klickd")with the hint topip install -e .from the repo root. The repo-rootpyproject.tomlis a dev shim that installs the samepackages/pypi/klickd/src/klickdsource tree. Without that install the test would silently skip (or fail against a stale env), so the step installs the root package before running.Testing
python -m pytest tests/test_dev_preview.py -q→ 5 passed (afterpip install -e .from repo root).yaml.safe_load.🤖 Generated with Claude Code