Skip to content

Commit bf45c41

Browse files
committed
fix codecov
1 parent 6d93641 commit bf45c41

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/run_tests.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ def __source_script(script_path):
5959
return {}
6060

6161
def setup_env(self):
62-
self.work_dir = Path(self.__get_project_path()) / "install" / "bin"
62+
if (Path(self.__get_project_path()) / "install").exists():
63+
self.work_dir = Path(self.__get_project_path()) / "install" / "bin"
64+
else:
65+
self.work_dir = Path(self.__get_project_path()) / "build" / "bin"
6366

6467
@staticmethod
6568
def __run_exec(command):

0 commit comments

Comments
 (0)