From 2a3a98bf455201f1f15054695caf488ed7b99776 Mon Sep 17 00:00:00 2001 From: JackyWoo Date: Thu, 19 Sep 2024 15:52:01 +0800 Subject: [PATCH] test ci --- .github/workflows/comment_on_pr.py | 2 ++ .github/workflows/run_integration_test.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/comment_on_pr.py b/.github/workflows/comment_on_pr.py index 161e510770..e697d24997 100644 --- a/.github/workflows/comment_on_pr.py +++ b/.github/workflows/comment_on_pr.py @@ -61,6 +61,8 @@ def comment_on_pr(content, title): repo = g.get_repo(repo_name) pull_request = repo.get_pull(int(pull_request_number)) + repo.get_workflow_run(1).artifacts_url + # Get all comments on the pull request comments = pull_request.get_issue_comments() diff --git a/.github/workflows/run_integration_test.py b/.github/workflows/run_integration_test.py index 276c86c7ac..55dc203d7b 100644 --- a/.github/workflows/run_integration_test.py +++ b/.github/workflows/run_integration_test.py @@ -8,7 +8,7 @@ def run_tests(tests_root_dir, *args): result = subprocess.run( ["./runner", "--binary", f"{tests_root_dir}/../../build/programs/raftkeeper", - "--base-configs-dir", f"{tests_root_dir}/../../programs/server", *args], + "--base-configs-dir", f"{tests_root_dir}/../../programs/server", ' '.join(args)], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True )