88 steps :
99 - uses : actions/checkout@v4
1010
11- - name : Build Docker image
12- run : ./run-tests.sh --check- docker-build
11+ - name : Check Docker build
12+ run : ./run-tests.sh --docker-build
1313
14- - name : Run Docker image tests
15- run : sudo ./run-tests.sh --check- docker-run
14+ - name : Check Docker tests
15+ run : sudo ./run-tests.sh --docker-tests
1616
1717 docs-sphinx :
1818 runs-on : ubuntu-24.04
3232 - name : Install Python dependencies
3333 run : pip install -e .[docs]
3434
35- - name : Run Sphinx documentation with doctests
36- run : ./run-tests.sh --check -sphinx
35+ - name : Check Sphinx docs build
36+ run : ./run-tests.sh --docs -sphinx
3737
3838 format-black :
3939 runs-on : ubuntu-24.04
@@ -45,10 +45,10 @@ jobs:
4545 with :
4646 python-version : " 3.12"
4747
48- - name : Check Python code formatting
48+ - name : Check formatting of Python code
4949 run : |
5050 pip install black
51- ./run-tests.sh --check -black
51+ ./run-tests.sh --format -black
5252
5353 format-prettier :
5454 runs-on : ubuntu-24.04
@@ -59,51 +59,21 @@ jobs:
5959 - name : Setup Node
6060 uses : actions/setup-node@v4
6161
62- - name : Check Prettier code fomatting
62+ - name : Check formatting of Markdown etc files
6363 run : |
6464 npm install prettier --global
65- ./run-tests.sh --check-prettier
66-
67- format-pydocstyle :
68- runs-on : ubuntu-24.04
69- steps :
70- - uses : actions/checkout@v4
71-
72- - name : Setup Python
73- uses : actions/setup-python@v5
74- with :
75- python-version : " 3.12"
76-
77- - name : Check compliance with Python docstring conventions
78- run : |
79- pip install pydocstyle
80- ./run-tests.sh --check-pydocstyle
65+ ./run-tests.sh --format-prettier
8166
8267 format-shfmt :
8368 runs-on : ubuntu-24.04
8469 steps :
8570 - name : Checkout
8671 uses : actions/checkout@v4
8772
88- - name : Check shell script code fomatting
73+ - name : Check formatting of shell scripts
8974 run : |
9075 sudo apt-get install shfmt
91- ./run-tests.sh --check-shfmt
92-
93- lint-check-manifest :
94- runs-on : ubuntu-24.04
95- steps :
96- - uses : actions/checkout@v4
97-
98- - name : Setup Python
99- uses : actions/setup-python@v5
100- with :
101- python-version : " 3.12"
102-
103- - name : Check Python manifest completeness
104- run : |
105- pip install check-manifest
106- ./run-tests.sh --check-manifest
76+ ./run-tests.sh --format-shfmt
10777
10878 lint-commitlint :
10979 runs-on : ubuntu-24.04
@@ -124,20 +94,20 @@ jobs:
12494 - name : Check commit message compliance of the recently pushed commit
12595 if : github.event_name == 'push'
12696 run : |
127- ./run-tests.sh --check -commitlint HEAD~1 HEAD
97+ ./run-tests.sh --lint -commitlint HEAD~1 HEAD
12898
12999 - name : Check commit message compliance of the pull request
130100 if : github.event_name == 'pull_request'
131101 run : |
132- ./run-tests.sh --check -commitlint ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.number }}
102+ ./run-tests.sh --lint -commitlint ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.number }}
133103
134- lint-dockerfile :
104+ lint-hadolint :
135105 runs-on : ubuntu-24.04
136106 steps :
137107 - uses : actions/checkout@v4
138108
139- - name : Check Dockerfile compliance
140- run : ./run-tests.sh --check-dockerfile
109+ - name : Check linting of Dockerfiles
110+ run : ./run-tests.sh --lint-hadolint
141111
142112 lint-flake8 :
143113 runs-on : ubuntu-24.04
@@ -149,10 +119,10 @@ jobs:
149119 with :
150120 python-version : " 3.12"
151121
152- - name : Check compliance with pep8, pyflakes and circular complexity
122+ - name : Check linting of Python code
153123 run : |
154124 pip install flake8
155- ./run-tests.sh --check -flake8
125+ ./run-tests.sh --lint -flake8
156126
157127 lint-jsonlint :
158128 runs-on : ubuntu-24.04
@@ -163,10 +133,25 @@ jobs:
163133 - name : Setup Node
164134 uses : actions/setup-node@v4
165135
166- - name : Lint JSON files
136+ - name : Check linting of JSON files
167137 run : |
168138 npm install jsonlint --global
169- ./run-tests.sh --check-jsonlint
139+ ./run-tests.sh --lint-jsonlint
140+
141+ lint-manifest :
142+ runs-on : ubuntu-24.04
143+ steps :
144+ - uses : actions/checkout@v4
145+
146+ - name : Setup Python
147+ uses : actions/setup-python@v5
148+ with :
149+ python-version : " 3.12"
150+
151+ - name : Check linting of Python manifest
152+ run : |
153+ pip install check-manifest
154+ ./run-tests.sh --lint-manifest
170155
171156 lint-markdownlint :
172157 runs-on : ubuntu-24.04
@@ -177,20 +162,35 @@ jobs:
177162 - name : Setup Node
178163 uses : actions/setup-node@v4
179164
180- - name : Lint Markdown files
165+ - name : Check linting of Markdown files
181166 run : |
182167 npm install markdownlint-cli2 --global
183- ./run-tests.sh --check-markdownlint
168+ ./run-tests.sh --lint-markdownlint
169+
170+ lint-pydocstyle :
171+ runs-on : ubuntu-24.04
172+ steps :
173+ - uses : actions/checkout@v4
174+
175+ - name : Setup Python
176+ uses : actions/setup-python@v5
177+ with :
178+ python-version : " 3.12"
179+
180+ - name : Check linting of Python docstrings
181+ run : |
182+ pip install pydocstyle
183+ ./run-tests.sh --lint-pydocstyle
184184
185185 lint-shellcheck :
186186 runs-on : ubuntu-24.04
187187 steps :
188188 - uses : actions/checkout@v4
189189
190- - name : Runs shell script static analysis
190+ - name : Check linting of shell scripts
191191 run : |
192192 sudo apt-get install shellcheck
193- ./run-tests.sh --check -shellcheck
193+ ./run-tests.sh --lint -shellcheck
194194
195195 lint-yamllint :
196196 runs-on : ubuntu-24.04
@@ -205,10 +205,10 @@ jobs:
205205 with :
206206 python-version : " 3.12"
207207
208- - name : Lint YAML files
208+ - name : Check linting of YAML files
209209 run : |
210210 pip install yamllint
211- ./run-tests.sh --check -yamllint
211+ ./run-tests.sh --lint -yamllint
212212
213213 python-tests :
214214 runs-on : ubuntu-24.04
@@ -234,8 +234,8 @@ jobs:
234234 pip install --upgrade pip setuptools wheel
235235 pip install -e .[docs,tests,pycurl]
236236
237- - name : Run pytest
238- run : ./run-tests.sh --check-pytest
237+ - name : Check Python test suite
238+ run : ./run-tests.sh --python-tests
239239
240240 - name : Codecov Coverage
241241 if : matrix.python-version == '3.12'
0 commit comments