This commit is contained in:
+3
-1
@@ -238,6 +238,8 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path):
|
||||
"> Unexpected result during test execution.\n\n"
|
||||
)
|
||||
|
||||
'''
|
||||
|
||||
try:
|
||||
with open(log_path, "r") as lf:
|
||||
log_lines = lf.readlines()
|
||||
@@ -278,7 +280,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path):
|
||||
except Exception as e:
|
||||
#print(f"❌ Failed to update markdown report: {e}")
|
||||
return
|
||||
|
||||
'''
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Convert JSON test results to Markdown.")
|
||||
parser.add_argument("--input", required=True, help="Path to pytest JSON file")
|
||||
|
||||
Reference in New Issue
Block a user