From 0b12e5258e236e74e287839fdb94215e568ab43e Mon Sep 17 00:00:00 2001 From: JackyWoo Date: Sat, 14 Sep 2024 17:16:49 +0800 Subject: [PATCH] test ci --- .github/workflows/report.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/report.py b/.github/workflows/report.py index d668a58d36..85384045f4 100644 --- a/.github/workflows/report.py +++ b/.github/workflows/report.py @@ -1,3 +1,5 @@ +import sys + from generate_test_report import generate_unit_test_report, generate_integration_test_report from comment import comment_on_pr @@ -14,3 +16,5 @@ def report(report_file, report_type): if content is not None: comment_on_pr(content) +if __name__ == "__main__": + comment_on_pr(sys.argv[1])