scientific-python / cookie

Scientific Python Library Development Guide and Cookiecutter
https://learn.scientific-python.org/development
BSD 3-Clause "New" or "Revised" License
277 stars 50 forks source link

Gitlab CI: `jobs:make_wheels config contains unknown keys: matrix` #457

Open sschnug opened 1 month ago

sschnug commented 1 month ago

Hi,

running a setuptools/pybind11 project in Gitlab-CI (v17.1.2-ee) leads to following YAML analysis error:

jobs:make_wheels config contains unknown keys: matrix

It seems, that matrix is not a valid keyword (Docs) here, but only parallel:matrix is.

parallel:matrix, opposed to matrix is also used in the same config at another place here which makes it look like a small oversight.

YAML analysis won't complain after changing it.

henryiii commented 1 month ago

@kratsg, does this look right?

kratsg commented 1 month ago

Yeah, that got changed in a particular version.

<job_id>:
  parallel:
    matrix: {}
henryiii commented 1 month ago

Anyone interested in making a PR? ;)