mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
81a49912b0
This also moves shippable test requirements to external files.
18 lines
502 B
Bash
Executable file
18 lines
502 B
Bash
Executable file
#!/bin/bash -eux
|
|
|
|
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 -r "${source_root}/test/utils/shippable/code-smell-requirements.txt" --upgrade
|
|
pip list
|
|
fi
|
|
|
|
yamllint .
|
|
test/code-smell/replace-urlopen.sh .
|
|
test/code-smell/use-compat-six.sh lib
|
|
test/code-smell/boilerplate.sh
|
|
test/code-smell/required-and-default-attributes.sh
|