Skip to content

feat: support multi-document GitLab CI files - #711

Open
be-student wants to merge 1 commit into
python-jsonschema:mainfrom
be-student:codex/561-gitlab-multidoc
Open

feat: support multi-document GitLab CI files#711
be-student wants to merge 1 commit into
python-jsonschema:mainfrom
be-student:codex/561-gitlab-multidoc

Conversation

@be-student

Copy link
Copy Markdown

Closes #561.

Allow the GitLab CI transform to load and merge multi-document YAML so spec:inputs headers validate through the existing check-gitlab-ci hook. Ordinary YAML loading and non-YAML data keep their existing behavior.

Tests: 33 focused unit tests and 2 GitLab hook acceptance cases pass. Pre-commit, mypy, and Sphinx -W pass. The Python 3.12 suite has 608 passes and 17 skips; its 3 Click color failures reproduce unchanged on upstream/main under the same Click version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check-gitlab-ci fails to parse multi-document .gitlab-ci.yml

1 participant