Skip to content
Snippets Groups Projects
.gitlab-ci.yml 436 B
---
stages:
  - lint

lint:
  stage: lint
  image:
    name: cytopia/yamllint
    entrypoint: ["/bin/ash", "-c"]
  script:
    - yamllint -f colored .

validate:
  stage: lint
  image: python:3.9
  before_script:
    - pip install -r requirements-ci.txt
  script:
    - >
        python templates/validate.py
        --schema-file templates/consultation-report.schema.json
        reports/*.yml templates/structured_report_template.yml