From 0911e93492a7bffefabccef2ef92ea4bbb722618 Mon Sep 17 00:00:00 2001 From: Bhavin Patel Date: Tue, 2 Jul 2024 15:15:24 -0700 Subject: [PATCH] check for pass --- .github/workflows/unit-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-testing.yml b/.github/workflows/unit-testing.yml index 89c0fd495d..450af175a3 100644 --- a/.github/workflows/unit-testing.yml +++ b/.github/workflows/unit-testing.yml @@ -102,7 +102,7 @@ jobs: name=$(echo $line | cut -d '|' -f 1) status=$(echo $line | cut -d '|' -f 2 | xargs) test_type=$(echo $line | cut -d '|' -f 3) - if [ "$status" == "true" ]; then + if [ "$status" == "pass" ]; then echo -e "${name} | \033[32m${status}\033[0m | ${test_type}" else echo -e "${name} | \033[31m${status}\033[0m | ${test_type}"