test: add check yamllint
This commit is contained in:
parent
d947820cab
commit
4aed7e86c8
3 changed files with 13 additions and 0 deletions
|
@ -12,6 +12,7 @@ services:
|
|||
before_install:
|
||||
- bundle install
|
||||
- sudo pip install --upgrade pip
|
||||
- sudo pip install yamllint
|
||||
- sudo pip install ansible-lint
|
||||
- git clone https://github.com/ansible/galaxy-lint-rules.git
|
||||
|
||||
|
@ -20,6 +21,7 @@ script:
|
|||
- kitchen conv certbot-debian-9 | grep changed=0
|
||||
- kitchen verify certbot-debian-9
|
||||
- ansible-lint -r galaxy-lint-rules/rules .
|
||||
- yamllint .
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
|
|
10
.yamllint
Normal file
10
.yamllint
Normal file
|
@ -0,0 +1,10 @@
|
|||
extends: default
|
||||
|
||||
ignore: |
|
||||
.kitchen/*
|
||||
vendor/
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 120
|
||||
level: warning
|
|
@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||
|
||||
## [Unreleased]
|
||||
- test: add check yamllint
|
||||
|
||||
## [2.1.1] 2018-11-26
|
||||
- fix: replace shell module to command
|
||||
|
|
Loading…
Reference in a new issue