fix(skills): fix robot integration test YAML creation for skill: wrapper key test
CI / helm (pull_request) Successful in 36s
CI / lint (pull_request) Successful in 40s
CI / build (pull_request) Successful in 46s
CI / quality (pull_request) Successful in 55s
CI / typecheck (pull_request) Successful in 1m6s
CI / security (pull_request) Successful in 1m29s
CI / push-validation (pull_request) Failing after 25s
CI / unit_tests (pull_request) Successful in 8m12s
CI / docker (pull_request) Failing after 10m25s
CI / coverage (pull_request) Failing after 14m3s
CI / integration_tests (pull_request) Successful in 28m35s
CI / status-check (pull_request) Failing after 3s

This commit is contained in:
2026-05-05 08:38:41 +00:00
committed by Forgejo
parent c65b582939
commit de4e1ad22d
+7 -1
View File
@@ -53,7 +53,13 @@ Validate Spec-Compliant Skill YAML With skill: Wrapper Key
[Tags] tdd_issue tdd_issue_1472
[Documentation] Parse a spec-compliant YAML with cleveragents: header and skill: wrapper key
${wrapped_yaml}= Set Variable ${TEMPDIR}${/}wrapped_skill.yaml
${yaml_content}= Set Variable cleveragents:\n version: "1.0"\nskill:\n name: local/wrapped-skill\n description: "A wrapped skill"\n
${yaml_content}= Catenate SEPARATOR=\n
... cleveragents:
... ${SPACE}${SPACE}version: "1.0"
... skill:
... ${SPACE}${SPACE}name: local/wrapped-skill
... ${SPACE}${SPACE}description: "A wrapped skill"
...
Create File ${wrapped_yaml} ${yaml_content}
${result}= Run Process ${PYTHON} ${HELPER} validate ${wrapped_yaml} cwd=${WORKSPACE}
Log ${result.stdout}