From 38ae8ec992bc9138c52baa61070f845cf1ce2eef Mon Sep 17 00:00:00 2001
From: Dariusz Rybicki <dariusz@elixxir.io>
Date: Mon, 29 Aug 2022 13:34:15 +0100
Subject: [PATCH] Update logs in run-tests.sh

---
 run-tests.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/run-tests.sh b/run-tests.sh
index f1c6697a..e4f69b38 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -1,8 +1,10 @@
 #!/bin/sh
 set -e
 
-echo "\n\033[1;32mâ–¶ Running tests on macOS...\033[0m"
+echo -e "\e[0Ksection_start:`date +%s`:test_macos\r\e[0KRunning tests on macOS..."
 set -o pipefail && swift test 2>&1 | ./xcbeautify
+echo -e "\e[0Ksection_end:`date +%s`:test_macos\r\e[0K"
 
-echo "\n\033[1;32mâ–¶ Running tests on iOS Simulator...\033[0m"
+echo -e "\e[0Ksection_start:`date +%s`:test_ios\r\e[0KRunning tests on iOS Simulator..."
 set -o pipefail && xcodebuild -scheme 'elixxir-dapps-sdk-swift-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify
+echo -e "\e[0Ksection_end:`date +%s`:test_ios\r\e[0K"
-- 
GitLab