CI: shellcheck: allow informative checks to fail
There are lots of informative checks which are safe to ignore but happen a lot especially with unit testing scripts. Adjust shellcheck to only fail on warning or above. Signed-off-by: Caleb Connolly <caleb@postmarketos.org> Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
This commit is contained in:
parent
9eb1f8d1e7
commit
036c802769
1 changed files with 1 additions and 1 deletions
|
|
@ -43,5 +43,5 @@ sh_files="
|
|||
for file in $sh_files; do
|
||||
echo "Test with shellcheck: $file"
|
||||
cd "$DIR/$(dirname "$file")"
|
||||
shellcheck -e SC1008 -e SC3043 -x "$(basename "$file")"
|
||||
shellcheck -S warning -e SC1008 -e SC3043 -x "$(basename "$file")"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue