Skip to content

ci: limit PR matrix to Python 3.14, keep full matrix on main#1965

Merged
brendancol merged 1 commit into
mainfrom
issue-1964
May 15, 2026
Merged

ci: limit PR matrix to Python 3.14, keep full matrix on main#1965
brendancol merged 1 commit into
mainfrom
issue-1964

Conversation

@brendancol
Copy link
Copy Markdown
Contributor

Closes #1964.

Summary

  • Pull requests now run only Python 3.14 across the three OSes (3 jobs instead of 9).
  • Pushes to main keep the full 3.12 / 3.13 / 3.14 matrix.

Uses a ternary on github.event_name with fromJson to swap the matrix array based on event type.

Test plan

  • This PR itself should show only 3 jobs in the matrix (one per OS, all 3.14).
  • After merge, the post-merge run on main should show 9 jobs (3 OS × 3 Python).

Pull requests now run only Python 3.14 across the three OSes (3 jobs)
instead of the full 3.12/3.13/3.14 matrix (9 jobs). Pushes to main keep
the full matrix so version-specific regressions are still caught.
Copilot AI review requested due to automatic review settings May 15, 2026 17:13
@github-actions github-actions Bot added the performance PR touches performance-sensitive code label May 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@brendancol brendancol merged commit b1579f8 into main May 15, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance PR touches performance-sensitive code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: only run Python 3.14 on PRs, full matrix on push to main

2 participants