Loading .gitlab-ci.yml +9 −1 Original line number Diff line number Diff line Loading @@ -35,9 +35,17 @@ process_xsd: - | format_issues=0 while IFS= read -r -d file; do echo $file if ! forgeschema -c "$file"; then echo "❌ failed schema checks for $file" format_issues=1 done < <(find ./testing/xml -type f -name "*.json" -print0) if [ "$format_issues" -eq 1 ]; then echo "❌ XSD validation failed" exit 1 fi echo "✅ XSD validation OK" process_json: image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest" stage: check Loading Loading
.gitlab-ci.yml +9 −1 Original line number Diff line number Diff line Loading @@ -35,9 +35,17 @@ process_xsd: - | format_issues=0 while IFS= read -r -d file; do echo $file if ! forgeschema -c "$file"; then echo "❌ failed schema checks for $file" format_issues=1 done < <(find ./testing/xml -type f -name "*.json" -print0) if [ "$format_issues" -eq 1 ]; then echo "❌ XSD validation failed" exit 1 fi echo "✅ XSD validation OK" process_json: image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest" stage: check Loading