Skip to content

Commit

Permalink
fix: make sure that parallelized lint-all runs incl. python scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Nov 27, 2024
1 parent e220175 commit f77eca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lint/lint-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ if ! command -v parallel > /dev/null; then
else
SCRIPTS=()

for f in "${SCRIPTDIR}"/lint-*.sh; do
for f in "${SCRIPTDIR}"/lint-*; do
if [ "$(basename "$f")" != "$LINTALL" ]; then
SCRIPTS+=("$f")
fi
done

if ! parallel --jobs 100% --will-cite --joblog parallel_out.log bash ::: "${SCRIPTS[@]}"; then
if ! parallel --jobs 100% --will-cite --joblog parallel_out.log ::: "${SCRIPTS[@]}"; then
echo "^---- failure generated"
EXIT_CODE=1
fi
Expand Down

0 comments on commit f77eca9

Please sign in to comment.