mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-09 14:50:02 -07:00
Fix YAML source and check it on Shippable (#15678)
Fix YAML source and check it on Shippable
This commit is contained in:
parent
4fe8fe303f
commit
4d48711242
5 changed files with 30 additions and 4 deletions
|
@ -2,8 +2,15 @@
|
|||
|
||||
source_root=$(python -c "from os import path; print(path.abspath(path.join(path.dirname('$0'), '../../..')))")
|
||||
|
||||
install_deps="${INSTALL_DEPS:-}"
|
||||
|
||||
cd "${source_root}"
|
||||
|
||||
if [ "${install_deps}" != "" ]; then
|
||||
pip install yamllint
|
||||
fi
|
||||
|
||||
yamllint .
|
||||
test/code-smell/replace-urlopen.sh .
|
||||
test/code-smell/use-compat-six.sh lib
|
||||
test/code-smell/boilerplate.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue