Skip to content
Snippets Groups Projects
Commit 816653a5 authored by Meisam Farzalipour Tabriz's avatar Meisam Farzalipour Tabriz
Browse files

add shellscript format checker to CI

parent 4472a87b
No related branches found
No related tags found
No related merge requests found
Pipeline #259060 passed with warnings
validate:shellscripts:
validate:shellscripts:lint:
stage: validate
image: gitlab-registry.mpcdf.mpg.de/tbz/ci_tools:latest
before_script:
......@@ -8,6 +8,16 @@ validate:shellscripts:
- shellcheck tests/dnf-automatic-mock
allow_failure: true
validate:shellscripts:format:
stage: validate
image: gitlab-registry.mpcdf.mpg.de/tbz/ci_tools:latest
before_script:
- shfmt --version
script:
- shfmt -i 2 -d script/check_dnf_automatic
- shfmt -i 2 -d tests/dnf-automatic-mock
allow_failure: true
validate:specfile:
stage: validate
before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment