diff options
author | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2020-11-10 09:53:00 +0100 |
---|---|---|
committer | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2020-11-15 17:34:21 +0100 |
commit | 8f45fbdaddff5269d113ee2f0d4cbf1794288a98 (patch) | |
tree | 0a3b1dca4169bfb636a840d6a8ce3a82474adeef /.gitlab-ci/run-shellcheck.sh | |
parent | 728c591d76903be0d8131edd8902d18f81b5faf7 (diff) | |
download | glib-8f45fbdaddff5269d113ee2f0d4cbf1794288a98.tar.gz |
add 2 new stages: sh-check (which run shellcheck) and py-check (which run black and flake8)
The debian docker have been modified to install these tools.
Closes #2046
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Diffstat (limited to '.gitlab-ci/run-shellcheck.sh')
-rwxr-xr-x | .gitlab-ci/run-shellcheck.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci/run-shellcheck.sh b/.gitlab-ci/run-shellcheck.sh new file mode 100755 index 000000000..f6d2dd59f --- /dev/null +++ b/.gitlab-ci/run-shellcheck.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e + +# Ignoring third-party directories that we don't want to parse +shellcheck $(git ls-files '*.sh' | grep -Ev "glib/libcharset|glib/dirent") |