Skip to content

Commit b22c440

Browse files
Lint shell scripts with shellcheck
1 parent 35dab99 commit b22c440

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
uses: actions/setup-python@v1
2323
with:
2424
python-version: ${{ matrix.python-version }}
25+
- name: Install utilities
26+
run: |
27+
apt-get -qq -y update
28+
apt-get -qq -y install shellcheck
2529
- name: Install dependencies
2630
run: |
2731
python -m pip install --upgrade pip setuptools wheel
@@ -35,6 +39,11 @@ jobs:
3539
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
3640
run: |
3741
black --check --diff --verbose .
42+
- name: Lint with Shellcheck
43+
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
44+
run: |
45+
shellcheck tests/*.sh
46+
shellcheck scripts/*.sh
3847
- name: Check MANIFEST
3948
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
4049
run: |

0 commit comments

Comments
 (0)