ci/circle: speed up lint phase (#14472)

Honor `PARALLEL_JOBS` so the number of luacheck jobs is capped to 3 (we don't want to end-up using 36 jobs).
This commit is contained in:
Benoit Pierre
2025-10-17 00:38:13 +02:00
committed by GitHub
parent 9a31068e95
commit 5e05d8d3d0
2 changed files with 3 additions and 2 deletions

View File

@@ -39,6 +39,6 @@ if [ "${untagged_todo}" ]; then
fi fi
echo -e "\n${ANSI_GREEN}Luacheck results${ANSI_RESET}" echo -e "\n${ANSI_GREEN}Luacheck results${ANSI_RESET}"
luacheck -q {reader,setupkoenv,datastorage}.lua frontend plugins spec || exit_code=1 luacheck ${PARALLEL_JOBS:+-j "${PARALLEL_JOBS}"} -q {reader,setupkoenv,datastorage}.lua frontend plugins spec || exit_code=1
exit ${exit_code} exit ${exit_code}

View File

@@ -39,7 +39,8 @@ jobs:
CLICOLOR_FORCE: "1" CLICOLOR_FORCE: "1"
EMULATE_READER: "1" EMULATE_READER: "1"
KODEBUG: "" KODEBUG: ""
MAKEFLAGS: "PARALLEL_JOBS=3 OUTPUT_DIR=build INSTALL_DIR=install" MAKEFLAGS: "OUTPUT_DIR=build INSTALL_DIR=install"
PARALLEL_JOBS: "3"
steps: steps:
# Checkout / fetch. {{{ # Checkout / fetch. {{{
- checkout - checkout