TEST-INFRA: [ci-pipeline-design] Add a Python version matrix #2854

Open
opened 2026-04-04 20:57:01 +00:00 by freemo · 0 comments
Owner

Metadata

  • Branch: chore/ci-pipeline-python-version-matrix
  • Commit Message: chore(ci): add Python version matrix to test jobs
  • Milestone: v3.6.0
  • Parent Epic: #2810

Background and Context

The CI pipeline currently tests against a single Python version (3.13). While this is the only supported version at the moment, adding a matrix strategy to the test jobs would make it easier to add support for new Python versions in the future. This is a proactive improvement that will make the CI pipeline more robust and scalable.

Subtasks

  • Add a matrix section to the test jobs in ci.yml
  • Define a list of Python versions to test against (e.g., 3.13, 3.14)
  • Update the job steps to use the Python version from the matrix
  • Verify the pipeline runs correctly end-to-end in CI for each matrix entry
  • Run nox (all default sessions), fix any errors
  • Verify coverage >= 97% via nox -s coverage_report

Definition of Done

  • All subtasks above are completed and checked off.
  • The test jobs run for each Python version defined in the matrix.
  • The CI pipeline is able to test against multiple Python versions.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
  • All nox stages pass.
  • Coverage >= 97%.

Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: ca-new-issue-creator

## Metadata - **Branch**: `chore/ci-pipeline-python-version-matrix` - **Commit Message**: `chore(ci): add Python version matrix to test jobs` - **Milestone**: v3.6.0 - **Parent Epic**: #2810 ## Background and Context The CI pipeline currently tests against a single Python version (3.13). While this is the only supported version at the moment, adding a matrix strategy to the test jobs would make it easier to add support for new Python versions in the future. This is a proactive improvement that will make the CI pipeline more robust and scalable. ## Subtasks - [ ] Add a `matrix` section to the test jobs in `ci.yml` - [ ] Define a list of Python versions to test against (e.g., `3.13`, `3.14`) - [ ] Update the job steps to use the Python version from the matrix - [ ] Verify the pipeline runs correctly end-to-end in CI for each matrix entry - [ ] Run `nox` (all default sessions), fix any errors - [ ] Verify coverage >= 97% via `nox -s coverage_report` ## Definition of Done - [ ] All subtasks above are completed and checked off. - [ ] The test jobs run for each Python version defined in the matrix. - [ ] The CI pipeline is able to test against multiple Python versions. - [ ] A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation. - [ ] The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - [ ] The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. - [ ] All nox stages pass. - [ ] Coverage >= 97%. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
freemo added this to the v3.6.0 milestone 2026-04-04 20:57:06 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#2854
No description provided.