You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pi...@apache.org on 2025/06/05 16:38:43 UTC

(airflow) branch main updated: fix: add COLOR_GREEN and correct providers tests success message color\n\nAdds missing COLOR_GREEN variable and fixes typo in providers tests success message to use the correct color. Prevents unbound variable error with bash -u. (#51399)

This is an automated email from the ASF dual-hosted git repository.

pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f04a2821e38 fix: add COLOR_GREEN and correct providers tests success message color\n\nAdds missing COLOR_GREEN variable and fixes typo in providers tests success message to use the correct color. Prevents unbound variable error with bash -u. (#51399)
f04a2821e38 is described below

commit f04a2821e38abf468fe47c75292cdd2897c018e1
Author: Giannis Tampakis <gi...@gmail.com>
AuthorDate: Thu Jun 5 19:38:36 2025 +0300

    fix: add COLOR_GREEN and correct providers tests success message color\n\nAdds missing COLOR_GREEN variable and fixes typo in providers tests success message to use the correct color. Prevents unbound variable error with bash -u. (#51399)
---
 scripts/ci/testing/run_unit_tests.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/ci/testing/run_unit_tests.sh b/scripts/ci/testing/run_unit_tests.sh
index 03db52d6581..3a4069cdf07 100755
--- a/scripts/ci/testing/run_unit_tests.sh
+++ b/scripts/ci/testing/run_unit_tests.sh
@@ -20,6 +20,7 @@ export COLOR_RED=$'\e[31m'
 export COLOR_BLUE=$'\e[34m'
 export COLOR_YELLOW=$'\e[33m'
 export COLOR_RESET=$'\e[0m'
+export COLOR_GREEN=$'\e[32m'
 
 if [[ ! "$#" -eq 2 ]]; then
     echo "${COLOR_RED}You must provide 2 arguments: Group, Scope!.${COLOR_RESET}"
@@ -107,7 +108,7 @@ function providers_tests() {
         echo
         exit "${RESULT}"
     fi
-    echo "${COLOR_GREEB}Providers tests completed successfully${COLOR_RESET}"
+    echo "${COLOR_GREEN}Providers tests completed successfully${COLOR_RESET}"
 }