-
-
Notifications
You must be signed in to change notification settings - Fork 5
Check if job yaml file exists #356
Copy link
Copy link
Open
Description
In meta.yml.j2 we have:
jobs:
{% for job_name in jobs %}
%(job_name)s:
uses: plone/meta/.github/workflows/%(job_name)s.yml@%(ref)s
{% if job_name == 'coverage' and os_dependencies %}
with:
os-packages: '%(os_dependencies)s'
{% endif %}
{% endfor %}
So if job_name is test, this will try to use our .github/workflows/test.yml, which since recently no longer exists, because people should use the test-matrix workflow instead.
That is what I fix here in diazo: plone/diazo#97
In the Python code we could check if the yaml file exists. But probably only if ref is not explicitly set.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels