Update json_to_md.py
Run Pytest with Allure and Coverage Reports / tests (push) Has been cancelled

This commit is contained in:
2025-07-15 10:32:02 +02:00
parent cb661e096c
commit 24bbd84d53
+3 -3
View File
@@ -248,7 +248,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path):
if exit_code == 2:
banner = (
"⚠️ **Test execution interrupted**\n\n"
"> The test run was manually interrupted (e.g. via Ctrl+C).\n\n"
"> The test run was interrupted by the user (reasons : KeyboardInterrupt, ...).\n\n"
)
elif exit_code == 3:
banner = (
@@ -262,7 +262,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path):
)
elif exit_code == 5:
banner = (
" **No tests were collected**\n\n"
" **No tests were collected**\n\n"
"> Pytest did not find any tests to run.\n\n"
)
else:
@@ -300,7 +300,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path):
"<details>\n<summary>📋 Short test summary info</summary>\n\n" +
"```\n" + "".join(short_summary_lines) + "```\n</details>\n\n" +
"<details>\n<summary>🪵 Full raw pytest log</summary>\n\n" +
"```\n" + "".join(log_lines[-500:]) + "```\n</details>\n\n" +
"```\n" + "".join(log_lines) + "```\n</details>\n\n" +
"---\n\n"
)