diff --git a/.github/workflows/test_suite_windows.yml b/.github/workflows/test_suite_windows.yml index 0e7e8d51..f0ee53d2 100644 --- a/.github/workflows/test_suite_windows.yml +++ b/.github/workflows/test_suite_windows.yml @@ -91,7 +91,8 @@ jobs: - name: Integration tests shell: cmd run: | - set PATH=C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages;%PATH% + for /f "tokens=2*" %%i in ('pip show torch ^| findstr /R "^Location"') do set package_path=%%i + set PATH=%package_path%;%PATH% set PATH=C:\Program Files (x86)\FTorch\bin;%PATH% - set PATH=C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\torch\lib;%PATH% + set PATH="%package_path%\torch\lib";%PATH% run_integration_tests.bat