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)
The current config has a lot of complexity in
ci.ymland that complexity ends up reflecting back into other jobs likecron.ymlwhich try to reuse that job.A better breakdown:
ci.ymlcalls this reusable workflow with a matrix of paramscron.ymlcalls this workflow with a different (read: smaller) matrixSee also: #2242 (review)