Skip to content

Commit

Permalink
Merge pull request #3915 from vicentebolea/add-shellcheck-coverage
Browse files Browse the repository at this point in the history
ci: add shellcheck coverage to source and testing
  • Loading branch information
vicentebolea committed Nov 14, 2023
2 parents 705e6ba + 247e2f3 commit 3979b52
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .shellcheck_exclude_paths
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@ scripts/developer/setup.sh
scripts/docker/setup-user.sh
scripts/runconf/runconf.sh
scripts/runconf/runconf_olcf.sh
testing/contract/lammps/build.sh
testing/contract/lammps/config.sh
testing/contract/lammps/install.sh
testing/contract/lammps/setup.sh
testing/contract/lammps/test.sh
testing/contract/scorpio/build.sh
testing/contract/scorpio/config.sh
testing/contract/scorpio/install.sh
testing/contract/scorpio/setup.sh
testing/contract/scorpio/test.sh
testing/contract/tau/build.sh
testing/contract/tau/config.sh
testing/contract/tau/install.sh
testing/contract/tau/setup.sh
testing/contract/tau/test.sh
2 changes: 1 addition & 1 deletion scripts/ci/scripts/run-shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi

# Give me a sorted list of the project scripts
found_scripts="$({
find scripts -regextype posix-extended -iregex '.*\.(sh|bash)' -print;
find scripts source testing -regextype posix-extended -iregex '.*\.(sh|bash)' -print;
grep -rnlE -e '#!/(/usr)?/bin/(bash|sh)' -e '#!(/usr)?/bin/env\s+(bash|sh)' scripts;
} | sort -u)"

Expand Down

0 comments on commit 3979b52

Please sign in to comment.