mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
tests: allow external-sources for shellcheck
While introducing scripts/build_step.inc.sh the tests start to fail as the script is included and each shell script is tested separately. By adding the option --external-sources to shellcheck, the related warnings are not reported. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
52fa4f10da
commit
fd62a5897a
@ -44,7 +44,7 @@ fi
|
|||||||
run_check '.*\.md' mdl --style scripts/mdl-style.rb
|
run_check '.*\.md' mdl --style scripts/mdl-style.rb
|
||||||
|
|
||||||
# Install via: dnf install shellcheck
|
# Install via: dnf install shellcheck
|
||||||
run_check '.*\.(ba)?sh' shellcheck
|
run_check '.*\.(ba)?sh' shellcheck --external-sources
|
||||||
run_check '.*\.(ba)?sh' bash -n
|
run_check '.*\.(ba)?sh' bash -n
|
||||||
|
|
||||||
# Install via: pip install yamllint
|
# Install via: pip install yamllint
|
||||||
|
Loading…
Reference in New Issue
Block a user