Skip to content

Commit d17b7c4

Browse files
committed
ci: standardize shellcheck --severity=error across all lab scripts
1 parent 0c1823f commit d17b7c4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: ShellCheck — lab test scripts
4141
run: |
4242
sudo apt-get install -y shellcheck -qq
43-
shellcheck tests/labs/*.sh
43+
shellcheck --severity=error tests/labs/*.sh
4444
4545
- name: Validate module manifest
4646
run: |
@@ -133,7 +133,7 @@ jobs:
133133
- name: ShellCheck test script
134134
run: |
135135
sudo apt-get install -y shellcheck -qq
136-
shellcheck tests/labs/test-lab-01-02.sh
136+
shellcheck --severity=error tests/labs/test-lab-01-02.sh
137137
138138
lab-03-smoke:
139139
name: Lab 03 — Sudo Rules + HBAC + Password Policy
@@ -158,7 +158,7 @@ jobs:
158158
- name: ShellCheck test script
159159
run: |
160160
sudo apt-get install -y shellcheck -qq
161-
shellcheck tests/labs/test-lab-01-03.sh
161+
shellcheck --severity=error tests/labs/test-lab-01-03.sh
162162
163163
lab-04-smoke:
164164
name: Lab 04 — Keycloak LDAP Federation (syntax check only)
@@ -183,7 +183,7 @@ jobs:
183183
- name: ShellCheck test script
184184
run: |
185185
sudo apt-get install -y shellcheck -qq
186-
shellcheck tests/labs/test-lab-01-04.sh
186+
shellcheck --severity=error tests/labs/test-lab-01-04.sh
187187
188188
lab-05-smoke:
189189
name: Lab 05 -- FreeIPA+KC+PG+Redis integration + FreePBX service account (INT-11 syntax check only)
@@ -208,7 +208,7 @@ jobs:
208208
- name: ShellCheck test script
209209
run: |
210210
sudo apt-get install -y shellcheck -qq
211-
shellcheck tests/labs/test-lab-01-05.sh
211+
shellcheck --severity=error tests/labs/test-lab-01-05.sh
212212
213213
lab-06-smoke:
214214
name: Lab 06 — FreeIPA Production HA (privileged — syntax check only)
@@ -233,4 +233,4 @@ jobs:
233233
- name: ShellCheck test script
234234
run: |
235235
sudo apt-get install -y shellcheck -qq
236-
shellcheck tests/labs/test-lab-01-06.sh
236+
shellcheck --severity=error tests/labs/test-lab-01-06.sh

0 commit comments

Comments
 (0)