From ee2e953b05e3de321dda293c43786e5f220e7a89 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Wed, 16 Jul 2025 13:08:26 +0200 Subject: [PATCH] Update .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 1e3404e94..656122e85 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -53,7 +53,7 @@ jobs: exit 1 } - pip install pytest pytest-cov pytest-html pytest-md-report > pip.log 2>&1 || { + pip install pytest pytest-cov pytest-html pytest-md-report rich > pip.log 2>&1 || { echo "❌ Python testing tools install failed" cat pip.log | grep -i 'error\|fatal' exit 1 @@ -115,6 +115,11 @@ jobs: cat ci-reports/markdown/md-report.log | grep -i 'error\|fatal\|traceback' || echo "No matching error lines" } + echo "" + echo "🌳 Generating JSON tree view..." + python -c "from rich import print_json; print_json(open('ci-reports/markdown/pytest-report.json').read())" > ci-reports/markdown/json-tree-view.txt + echo "✅ JSON tree view generated" + - name: Commit and push reports run: | echo "📤 Committing all test reports to slic.git..."