Message ID | 20240726070456.467533-6-npiggin@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Checking and CI improvements | expand |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0f72cefe7..2d55c6dcf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -429,3 +429,16 @@ check-kerneldoc: before_script: - apk -U add bash make perl gcc allow_failure: true + +check-shellcheck: + extends: .intree_template + stage: build + image: python:3.10-alpine + needs: [] + script: + - ./configure --arch=x86_64 + - make -s shellcheck 2>&1 | tee shellcheckwarnings.txt + - test -z `cat shellcheckwarnings.txt` + before_script: + - apk -U add bash make gcc shellcheck + allow_failure: true
Now that we have some shellcheck support, might as well run it in CI. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+)