From 0a574d4fca4ce1f0e467df7bc643765ebdb05881 Mon Sep 17 00:00:00 2001 From: Aliaksandr Dziarkach <18146690+AliaksandrDziarkach@users.noreply.github.com> Date: Wed, 20 Sep 2023 22:42:29 +0300 Subject: [PATCH] #1282 Revert actions Add log to test.py --- .github/workflows/indigo-ci.yaml | 3 --- api/tests/integration/test.py | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/indigo-ci.yaml b/.github/workflows/indigo-ci.yaml index a32f9a7077..4a7a05e49b 100644 --- a/.github/workflows/indigo-ci.yaml +++ b/.github/workflows/indigo-ci.yaml @@ -411,9 +411,6 @@ jobs: INDIGO_PATH: ${{ github.workspace }}/dist run: | java -Xss4m -jar jython.jar api/tests/integration/test.py -t 1 -j junit_report.xml - - name: Show diff - run: | - cat api/tests/integration/out/rendering/*.diff - name: Publish Test Report if: always() uses: mikepenz/action-junit-report@v3 diff --git a/api/tests/integration/test.py b/api/tests/integration/test.py index 66d765239f..0140c7b4a1 100644 --- a/api/tests/integration/test.py +++ b/api/tests/integration/test.py @@ -346,6 +346,8 @@ def run_analyze_test(args): f.close() with stdout_lock: sys.__stdout__.write(out_message + "\n") + if test_status == "[FAILED]": + sys.__stdout__.write(msg + "\n") test_result = (root, filename, test_status, msg, tspent) return test_result