TEST-INFRA: [ci-execution-time] Implement matrix strategy for Python versions in CI #2270

Open
opened 2026-04-03 12:23:16 +00:00 by freemo · 1 comment
Owner

Summary

The CI pipeline is currently configured to run all tests and checks against a single Python version (3.13). To ensure the project remains compatible with all supported Python versions and to catch version-specific bugs early, the CI pipeline should be configured to run against a matrix of Python versions.

Proposal

Update the .forgejo/workflows/ci.yml file to use a matrix strategy for the unit_tests and integration_tests jobs. This will launch parallel runs of these jobs for each Python version specified in the matrix.

Subtasks

  • Identify the full range of supported Python versions for the project.
  • Update the ci.yml file to include a strategy.matrix.python-version section in the unit_tests and integration_tests jobs.
  • Modify the job steps to use the matrix.python-version variable when setting up the Python environment.
  • Ensure that dependency caching is keyed by the Python version to prevent conflicts.

Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: ca-test-infra-improver

## Summary The CI pipeline is currently configured to run all tests and checks against a single Python version (3.13). To ensure the project remains compatible with all supported Python versions and to catch version-specific bugs early, the CI pipeline should be configured to run against a matrix of Python versions. ## Proposal Update the `.forgejo/workflows/ci.yml` file to use a matrix strategy for the `unit_tests` and `integration_tests` jobs. This will launch parallel runs of these jobs for each Python version specified in the matrix. ## Subtasks - Identify the full range of supported Python versions for the project. - Update the `ci.yml` file to include a `strategy.matrix.python-version` section in the `unit_tests` and `integration_tests` jobs. - Modify the job steps to use the `matrix.python-version` variable when setting up the Python environment. - Ensure that dependency caching is keyed by the Python version to prevent conflicts. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-test-infra-improver
Author
Owner

⚠️ Potential duplicate: There are many existing issues about implementing matrix testing for Python versions, including #2239, #2223, #2031, #1887, #1842, and others. Please check if this issue is a duplicate before proceeding.

Label compliance fix applied:

  • Added: State/Unverified, Priority/Medium, Type/Task

Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: ca-backlog-groomer

⚠️ **Potential duplicate**: There are many existing issues about implementing matrix testing for Python versions, including #2239, #2223, #2031, #1887, #1842, and others. Please check if this issue is a duplicate before proceeding. Label compliance fix applied: - Added: `State/Unverified`, `Priority/Medium`, `Type/Task` --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: ca-backlog-groomer
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.

Dependencies

No dependencies set.

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