diff --git a/.github/workflows/main_automation.yml b/.github/workflows/main_automation.yml index d3681ca9..bb961dd7 100644 --- a/.github/workflows/main_automation.yml +++ b/.github/workflows/main_automation.yml @@ -49,11 +49,12 @@ jobs: - name: Install pandas-ta run: | + sudo apt install python3.10 + sudo apt install python3.10-dev pip3 install numpy pip3 install pandas pip3 install pandas-ta python --version - ls /home/runner/.local/lib/ ############## Install more tools diff --git a/Tests/Validations/Trends/Pandas_TA.cs b/Tests/Validations/Trends/Pandas_TA.cs index 92f3539e..9ff103d7 100644 --- a/Tests/Validations/Trends/Pandas_TA.cs +++ b/Tests/Validations/Trends/Pandas_TA.cs @@ -463,7 +463,9 @@ public static class PythonLibrary { throw new FileNotFoundException("Python library not found in PATH"); } else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { - List pythonLibraries = new List(); + return "/usr/lib/x86_64-linux-gnu/libpython3.10.so"; +/* + List pythonLibraries = new List(); List directoriesToSearch = new List { "/home/runner/.local/lib" }; // Add more directories as needed string filePattern = "libpython3.*.so"; SearchFiles(directoriesToSearch, filePattern, pythonLibraries); @@ -474,6 +476,7 @@ public static class PythonLibrary { else { throw new FileNotFoundException("Python library not found"); } +*/ } else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) {