Skip to content

ci: wire tests/test_dev_preview.py into CI#125

Merged
Davincc77 merged 1 commit into
mainfrom
ci/dev-preview-test-coverage
Jun 2, 2026
Merged

ci: wire tests/test_dev_preview.py into CI#125
Davincc77 merged 1 commit into
mainfrom
ci/dev-preview-test-coverage

Conversation

@Davincc77
Copy link
Copy Markdown
Owner

Summary

  • The Day 2 dev-preview quickstart test tests/test_dev_preview.py was not wired into any GitHub Actions workflow, leaving examples/dev-preview/ able to rot undetected.
  • Adds a focused step to the existing python job in .github/workflows/test-vectors.yml that installs the root package (pip install -e .) and runs tests/test_dev_preview.py.
  • Minimal, non-invasive: reuses the existing job's checkout + Python 3.11 setup; no new job, no scope broadening.

Why the root install

tests/test_dev_preview.py lives at repo root and importorskip("klickd") with the hint to pip install -e . from the repo root. The repo-root pyproject.toml is a dev shim that installs the same packages/pypi/klickd/src/klickd source 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 (after pip install -e . from repo root).
  • YAML syntax validated via yaml.safe_load.

🤖 Generated with Claude Code

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>
@Davincc77 Davincc77 merged commit 80aada4 into main Jun 2, 2026
3 checks 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.

2 participants