Skip to content

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

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

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.

@sirosen

sirosen commented Sep 8, 2026

Copy link
Copy Markdown
Member

Much more thought needs to go into handling YAML files with multiple documents. This isn't an appropriate single-step change.

@sirosen sirosen closed this Sep 8, 2026
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

2 participants