Commit f5187cfe authored by Laurent Peuch's avatar Laurent Peuch
Browse files

ci: integrate yamllint

parent dda3bcad831b
......@@ -43,6 +43,22 @@ lint_doc8:
script:
- tox -e doc8
lint_yaml:
except:
variables:
- $TRIGGERED_FROM_OTHER_PROJECT
only:
changes:
- "**/*.yaml"
- "*.yaml"
- "**/*.yml"
- "*.yml"
stage: lint
before_script:
- pip install tox
script:
- tox -e yamllint
build_doc:
only:
changes:
......
extends: default
rules:
document-start: disable
line-length: disable
......@@ -5,6 +5,7 @@ include pylintrc
include jshintrc
include tox.ini
exclude .gitlab-ci.yml
exclude .yamllint
prune .gitlab
include flake8-ok-files.txt
......
......@@ -5,7 +5,8 @@ envlist =
py3-from-forge-server,
py3-from-forge-web,
py3-from-forge-misc,
doc8
doc8,
yamllint
[testenv]
basepython=python3
......@@ -117,4 +118,8 @@ commands =
twine check dist/*
twine upload --skip-existing dist/*
# vim: wrap sts=2 sw=2
[testenv:yamllint]
skip_install = true
deps = yamllint
commands =
yamllint .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment