Loading .gitlab-ci.yml +11 −4 Original line number Diff line number Diff line Loading @@ -58,20 +58,27 @@ process_json: - export PYCHARM_HOSTED=1 - | format_issues=0 check_count=0 fail_count=0 while IFS= read -r -d '' file; do let "check_count=check_count+1" if ! forgeschema -c "$file"; then echo "❌ failed schema checks for $file" format_issues=1 let "fail_count=fail_count+1" fi echo "" echo "..." echo "" done < <(find ./testing/json -type f -name "*.json" -print0) if [ "$format_issues" -eq 1 ]; then if [ "$fail_count" -gt 0 ]; then echo "════════════════════════════════════════════════════════" echo "❌ Failed schema checks for $fail_count of $check_count" exit 1 echo "════════════════════════════════════════════════════════" fi echo "✅ XSD validation OK for $file" echo "════════════════════════════════════════════════════════" echo "✅ XSD validation OK ($check_count files checked)" echo "════════════════════════════════════════════════════════" - forgeschema -s 103120/schema/json/ts_103120_Core.schema.json -u 103120/schema/json -u 103120/dictionaries/ts_103120_Dictionaries.schema.json -u 103280/TS_103_280.schema.json -i 103120/examples/json lint_xml: Loading Loading
.gitlab-ci.yml +11 −4 Original line number Diff line number Diff line Loading @@ -58,20 +58,27 @@ process_json: - export PYCHARM_HOSTED=1 - | format_issues=0 check_count=0 fail_count=0 while IFS= read -r -d '' file; do let "check_count=check_count+1" if ! forgeschema -c "$file"; then echo "❌ failed schema checks for $file" format_issues=1 let "fail_count=fail_count+1" fi echo "" echo "..." echo "" done < <(find ./testing/json -type f -name "*.json" -print0) if [ "$format_issues" -eq 1 ]; then if [ "$fail_count" -gt 0 ]; then echo "════════════════════════════════════════════════════════" echo "❌ Failed schema checks for $fail_count of $check_count" exit 1 echo "════════════════════════════════════════════════════════" fi echo "✅ XSD validation OK for $file" echo "════════════════════════════════════════════════════════" echo "✅ XSD validation OK ($check_count files checked)" echo "════════════════════════════════════════════════════════" - forgeschema -s 103120/schema/json/ts_103120_Core.schema.json -u 103120/schema/json -u 103120/dictionaries/ts_103120_Dictionaries.schema.json -u 103280/TS_103_280.schema.json -i 103120/examples/json lint_xml: Loading