Skip to content

Add CI that runs every sample, plus a DIRECTORY.md generator - #319

Merged
thejesh23 merged 3 commits into
mainfrom
feature/ci-and-directory-generator
Nov 15, 2026
Merged

thejesh23 merged 3 commits into
mainfrom
feature/ci-and-directory-generator

Conversation

@thejesh23

Copy link
Copy Markdown
Owner

What

  • .github/scripts/run_all.py runs every sample (and, later, every package via python -m) and fails on a non-zero exit, a timeout, or empty output.
  • .github/scripts/gen_directory.py regenerates DIRECTORY.md; --check fails CI when the index is stale. It also lists packages.
  • .github/workflows/ci.yml runs both on Python 3.10, 3.12 and 3.13.

Why

The README promises that every file runs, but nothing enforced it. This is also groundwork for adding a working package to each category folder.

Checked locally

run_all.py on 3.12: 318/318 pass (about 20 s). gen_directory.py --check passes. The only change to DIRECTORY.md is one new header line.

🤖 Generated with Claude Code

thejesh23 and others added 3 commits November 15, 2026 11:36
… fails on non-zero exit or empty output

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…lists packages

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… check DIRECTORY.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@thejesh23

Copy link
Copy Markdown
Owner Author

Switching to direct commits on main; no PR needed.

@thejesh23
thejesh23 merged commit 7708a18 into main Nov 15, 2026
3 of 4 checks passed
@thejesh23
thejesh23 deleted the feature/ci-and-directory-generator branch November 15, 2026 19:38
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