From 1de528f2f8a1698e41c09df1ca726717aac2fe56 Mon Sep 17 00:00:00 2001 From: Vasily Kleschov Date: Thu, 25 Jan 2024 20:10:31 +0100 Subject: [PATCH] Fix base tests dir #3 --- alts/worker/runners/base.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/alts/worker/runners/base.py b/alts/worker/runners/base.py index 18d6f90a..c69af038 100644 --- a/alts/worker/runners/base.py +++ b/alts/worker/runners/base.py @@ -570,7 +570,11 @@ def run_third_party_tests(self): test_repo_path = self.clone_third_party_repo(repo_url, git_ref) if not test_repo_path: continue - workdir = f'/tests/{test_repo_path.name}/{test_dir}' + workdir = os.path.join( + CONFIG.tests_base_dir, + test_repo_path.name, + test_dir, + ) for file in Path(test_repo_path, test_dir).iterdir(): if tests_to_run and file.name not in tests_to_run: continue