Update .gitea/workflows/test.yml
Run Pytest with HTML and XML Test Reports / tests (push) Failing after 39s
Run Pytest with HTML and XML Test Reports / tests (push) Failing after 39s
This commit is contained in:
+15
-10
@@ -217,16 +217,21 @@ jobs:
|
||||
# Capture tous les Previous Runs existants
|
||||
sed -n '/## Previous Runs/,$p' "${HOME_FILE}" | tail -n +2 | grep -v "^#"
|
||||
fi
|
||||
} > "${TEMP_CONTENT}" || {
|
||||
echo "❌ Report preparation failed"
|
||||
echo "🔍 Errors found (filtered):"
|
||||
grep -i 'error\|fatal\|refused' "${TEMP_CONTENT}" || echo "No obvious error found."
|
||||
echo ""
|
||||
echo "📄 Full TEMP_CONTENT:"
|
||||
echo "--------------------"
|
||||
cat "${TEMP_CONTENT}"
|
||||
echo "--------------------"
|
||||
exit 1
|
||||
} > "${TEMP_CONTENT}" 2> "${REPORT_LOG}" || {
|
||||
echo "❌ Report preparation failed"
|
||||
echo "🔍 Errors found (filtered):"
|
||||
grep -i 'error\|fatal\|refused' "${REPORT_LOG}" || echo "No obvious error found."
|
||||
echo ""
|
||||
echo "📄 Full reports.log:"
|
||||
echo "--------------------"
|
||||
cat "${REPORT_LOG}"
|
||||
echo "--------------------"
|
||||
echo ""
|
||||
echo "📄 Full TEMP_CONTENT:"
|
||||
echo "--------------------"
|
||||
cat "${TEMP_CONTENT}"
|
||||
echo "--------------------"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Écriture atomique (évite la corruption)
|
||||
|
||||
Reference in New Issue
Block a user