Update .gitea/workflows/test.yml
Run Pytest with HTML and XML Test Reports / tests (push) Successful in 24s

This commit is contained in:
2025-07-16 13:08:26 +02:00
parent 79e1d28b21
commit ee2e953b05
+6 -1
View File
@@ -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..."