Update json_to_md.py
Run Pytest with HTML and XML Test Reports / tests (push) Successful in 23s

This commit is contained in:
2025-07-15 14:58:57 +02:00
parent 3a9004dfa6
commit b40c8f8d7f
+3 -2
View File
@@ -259,7 +259,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path):
with open(md_path, "r") as f:
original_md = f.read()
except Exception as e:
print(f"❌ Could not read markdown report: {e}")
#print(f"❌ Could not read markdown report: {e}")
return
full_banner = (
@@ -276,7 +276,8 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path):
f.write(full_banner + original_md)
print("✅ Banner and log summary added to markdown report.")
except Exception as e:
print(f"❌ Failed to update markdown report: {e}")
#print(f"❌ Failed to update markdown report: {e}")
return
def main():
parser = argparse.ArgumentParser(description="Convert JSON test results to Markdown.")