From 694d80b7fa044abf3ddc47829130fcec0bb23fac Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 22 Dec 2021 17:52:54 +0100 Subject: [PATCH] Test shell scripts in CI (#3738) --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08a6e4380..2cfc7a20b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,14 @@ jobs: - uses: actions/checkout@v2 + - name: Test shell scripts + if: matrix.otp == 24 + run: | + shellcheck test/ejabberd_SUITE_data/gencerts.sh + shellcheck tools/captcha.sh + shellcheck ejabberd.init.template + shellcheck ejabberdctl.template + - name: Get previous Erlang/OTP uses: ErlGang/setup-erlang@master if: matrix.otp != 24