This commit is contained in:
+3
-2
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user