Skip to content

Refactor CI config such that a "run tests" reusable workflow contains one parametrizable job #2244

@sirosen

Description

@sirosen

The current config has a lot of complexity in ci.yml and that complexity ends up reflecting back into other jobs like cron.yml which try to reuse that job.

A better breakdown:

  • a reusable workflow which accepts platform, Python version (should support CPython and pypy), target pip version, ...
    • the scope should be just running the testsuite "correctly" for these inputs
  • ci.yml calls this reusable workflow with a matrix of params
  • cron.yml calls this workflow with a different (read: smaller) matrix

See also: #2242 (review)

Metadata

Metadata

Assignees

Labels

PR wantedFeature is discussed or bug is confirmed, PR neededciRelated to continuous integration tasksmaintenanceRelated to maintenance processesrefactorRefactoring code

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions