# yamllint disable rule:line-length
#
# Copyright (C) 2019 Ultimaker B.V.

include:
  - project: ultimaker/embedded/prime-jedi
    ref: master
    file: /gitlab_ci_templates/jedi-gitlab-ci-template.yml

# Prepare stage, prepares a Docker image based on the Docker file in /docker_env subfolder of the repository.
# To have early feedback when setting up your Docker image, make sure you implement a buildenv_check.sh script,
# see the exeample in this repository.
# ==================================================================================
prepare_environment:
  extends:
    - .jobs_common
    - .environment_common
  stage: prepare
  variables:
    GIT_STRATEGY: clone
  script:
    - ./make_docker.sh "${BUILD_PIPELINE_IMAGE}"

XSD_test:
  extends:
    - .jobs_common
    - .build_test_common
  stage: test
  script:
    - git fetch origin master:master
    - ./run_check_material_profiles_new_with_lxml.sh
