Skip to content

Commit

Permalink
Fix base tests dir #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Korulag committed Jan 25, 2024
1 parent 98715aa commit 1de528f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion alts/worker/runners/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1de528f

Please sign in to comment.