mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
Print environment variables before running linters
This commit is contained in:
parent
df79a85546
commit
fdb14fc19c
1 changed files with 19 additions and 9 deletions
|
@ -1189,6 +1189,16 @@ if [[ ${TEST_CASE_RUN} != "false" ]]; then
|
||||||
#############################################
|
#############################################
|
||||||
MULTI_STATUS='false'
|
MULTI_STATUS='false'
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Print ENV before running test cases #
|
||||||
|
#######################################
|
||||||
|
debug "--- ENV (before running test cases) ---"
|
||||||
|
debug "---------------------------------------"
|
||||||
|
PRINTENV=$(printenv | sort)
|
||||||
|
debug "ENV:"
|
||||||
|
debug "${PRINTENV}"
|
||||||
|
debug "---------------------------------------"
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# Run only the test cases #
|
# Run only the test cases #
|
||||||
###########################
|
###########################
|
||||||
|
@ -1206,15 +1216,15 @@ BuildFileList "${VALIDATE_ALL_CODEBASE}"
|
||||||
###############
|
###############
|
||||||
EDITORCONFIG_FILE_PATH="${GITHUB_WORKSPACE}"/.editorconfig
|
EDITORCONFIG_FILE_PATH="${GITHUB_WORKSPACE}"/.editorconfig
|
||||||
|
|
||||||
##################################################
|
####################################
|
||||||
# Print ENV before running linters or test cases #
|
# Print ENV before running linters #
|
||||||
##################################################
|
####################################
|
||||||
debug "--- ENV (before running linters or test cases) ---"
|
debug "--- ENV (before running linters) ---"
|
||||||
debug "--------------------------------------------------"
|
debug "------------------------------------"
|
||||||
PRINTENV=$(printenv | sort)
|
PRINTENV=$(printenv | sort)
|
||||||
debug "ENV:"
|
debug "ENV:"
|
||||||
debug "${PRINTENV}"
|
debug "${PRINTENV}"
|
||||||
debug "---------------------------------------------"
|
debug "------------------------------------"
|
||||||
|
|
||||||
for LANGUAGE in "${LANGUAGE_ARRAY[@]}"; do
|
for LANGUAGE in "${LANGUAGE_ARRAY[@]}"; do
|
||||||
debug "Running linter for the ${LANGUAGE} language..."
|
debug "Running linter for the ${LANGUAGE} language..."
|
||||||
|
|
Loading…
Reference in a new issue