Update .gitea/workflows/test.yml
Run Pytest with Allure and Coverage Reports / tests (push) Failing after 58s
Run Pytest with Allure and Coverage Reports / wiki (push) Has been skipped

This commit is contained in:
2025-07-11 15:36:51 +02:00
parent 2154777bb7
commit 2e1937f3e9
+14 -4
View File
@@ -99,11 +99,8 @@ jobs:
--cov-report=xml:ci-reports/coverage/coverage.xml \
--cov-report=html:ci-reports/coverage/ \
--alluredir=allure-results \
--md-report \
--md-report-output=ci-reports/markdown/test-report.md \
--md-report-flavor=gfm \
--json-report \
--json-report-file=ci-reports/markdown/pytest.json \
--json-report-file=ci-reports/markdown/pytest-report.json \
--capture=no > ci-reports/markdown/raw-test-output.log 2>&1 && {
echo "✅ Pytest completed"
echo "📄 Markdown: ci-reports/markdown/test-report.md"
@@ -129,6 +126,19 @@ jobs:
echo "⚠️ Coverage generation failed"
}
echo "📊 Generating tests markdown summary..."
# Génération des rapports supplémentaires
python generate_test_summary.py
python json_to_md.py \
--input ci-reports/markdown/pytest-report.json \
--output ci-reports/markdown/TEST-REPORT.md \
--allure-dir ci-reports/allure/data/test-cases
echo "✅ Tests markdown generated"
echo "📄 Markdown: ci-reports/markdown/TEST-REPORT.md.md"
} || {
echo "⚠️ Tests markdown generation failed"
}
echo ""
echo "==============================="
echo "🧪 DETAILED TEST SUMMARY"