Skip to content

ci: run pytest matrix on PRs targeting dev (#241)#242

Closed
prakashUXtech wants to merge 1 commit into
devfrom
ci/run-tests-on-dev-prs
Closed

ci: run pytest matrix on PRs targeting dev (#241)#242
prakashUXtech wants to merge 1 commit into
devfrom
ci/run-tests-on-dev-prs

Conversation

@prakashUXtech
Copy link
Copy Markdown
Contributor

@prakashUXtech prakashUXtech commented May 13, 2026

What this changes

Extends .github/workflows/ci.yml triggers so PRs targeting dev get the same pytest matrix (3.11/3.12/3.13) plus lint job that PRs targeting main already get. Three-line diff in the on: block.

Why

The PR Quality Gate (pr-quality-gate.yml) runs on every PR and covers Conventional Commit titles, secrets scan, and the check-quality lint pass. But the pytest matrix from ci.yml only triggered on [main]. Result: the entire v0.5.0 captain push (11 PRs merged to dev between 2026-04-30 and 2026-05-02) shipped without per-PR pytest coverage. Local test runs were the only signal. Regressions in any single PR would only surface on the eventual devmain release PR.

For a release with schema changes (#192 memory primitives, #108/#190 graph overhaul) and bug-fix surfaces (#234, in-flight #238), per-PR pytest is the difference between catching a regression on the PR vs. catching it after 9 PRs already merged.

Cost

CI cost scales linearly with the dev-branch PR rate. During v0.5.x that's ~3 PRs/week, which is well inside the GitHub Actions free tier.

Verification

This PR itself doesn't get pytest CI: it targets dev and the old workflow doesn't fire there yet, which is exactly the gap we're closing. After merge, the next PR targeting dev should show the test matrix in its checks. The three mentee PRs (#236, #232, #237) will pick up CI on their next push.

Closes #241.

Extend ci.yml triggers so PRs against dev (not just main) get the
3.11/3.12/3.13 pytest matrix plus the lint job. The PR Quality Gate
covers Conventional Commits + secrets + check-quality on every PR
already; this adds the missing test-suite signal.

Before: the entire v0.5.0 captain push merged to dev without per-PR
pytest. Locally-passing tests were the only signal; regressions
would have surfaced only on the eventual dev → main release PR.

After: every dev PR gets the same matrix the main PRs do. Cost
scales linearly with the dev-branch PR rate (~3/week during v0.5.x).

Closes #241.
@github-actions
Copy link
Copy Markdown

Issues (must fix)

  • No evidence of local testing found. Please include terminal output or screenshots.

Heads up

  • This PR touches sensitive files (CI/CD workflows). These paths require maintainer review via CODEOWNERS.

Please update your PR to address these points.

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had activity in the last 14 days. It will be closed in 7 days if no further activity occurs. If you're still working on this, please push an update or leave a comment.

@github-actions github-actions Bot added the stale label May 27, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Closing due to inactivity. If you'd like to continue, please open a new PR.

@github-actions github-actions Bot closed this Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant