From 48e65222dff7ebd23529acdfc38e693ad602273e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 19 Sep 2021 23:33:28 +0200 Subject: [PATCH] Testing return values from run_tests --- bin/run_ci_tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/run_ci_tests.sh b/bin/run_ci_tests.sh index 6691ebf..bf83cbd 100755 --- a/bin/run_ci_tests.sh +++ b/bin/run_ci_tests.sh @@ -27,6 +27,7 @@ install_repo() { run_tests() { echo "Running tests" pytest 2>&1 | tee "$TEST_LOG" + cat "$TEST_LOG" grep -e '^FAILED ' "$TEST_LOG" if [[ $? == 0 ]]; then