Commit c9040a96 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Merge branch 'draft/104144_missing_examples' of...

Merge branch 'draft/104144_missing_examples' of forge.etsi.org:li/schemas-definitions into draft/104144_missing_examples
parents 38e3045b 429a934f
Loading
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@ preflight:
  interruptible: true
  script:
    - forgelib-preflight https://$CI_SERVER_HOST $CI_PROJECT_ID $CI_MERGE_REQUEST_IID

  tags:
    - docker

# -----------------------------------------------------------
# Compile
@@ -34,6 +35,8 @@ compile_asn:
  interruptible: true
  script:
    - python3 testing/asn/asn_process.py
  tags:
    - docker

compile_xsd:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
@@ -64,6 +67,8 @@ compile_xsd:
      echo "✅ XSD validation OK ($check_count files checked)"  
      echo "┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅"
      echo "✅ XSD validation OK for $file"
  tags:
    - docker

compile_json:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
@@ -94,6 +99,8 @@ compile_json:
      echo "✅ JSON 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
  tags:
    - docker


# -----------------------------------------------------------
@@ -107,6 +114,8 @@ lint_xml:
  script:
    - export PYCHARM_HOSTED=1
    - python testing/xml/lint_xml.py
  tags:
    - docker

lint_json:
  image: "forge.etsi.org:5050/li/schemas-definitions/forgeschema:latest"
@@ -116,6 +125,8 @@ lint_json:
  script:
    - export PYCHARM_HOSTED=1
    - python testing/json/lint_json.py
  tags:
    - docker


# -----------------------------------------------------------
@@ -143,3 +154,5 @@ generate_artefacts:
      - "*.docx"
    name: $CI_MERGE_REQUEST_TITLE
    expire_in: 30 days
  tags:
    - docker