diff --git a/.github/workflows/reusable-windows-ci.yml b/.github/workflows/reusable-windows-ci.yml index 4dfed2a625b..cbfbf066d3f 100644 --- a/.github/workflows/reusable-windows-ci.yml +++ b/.github/workflows/reusable-windows-ci.yml @@ -97,7 +97,26 @@ jobs: - name: Install Python dependencies uses: eProsima/eProsima-CI/windows/install_python_packages@hotfix/python with: - packages: vcstool xmlschema + packages: vcstool xmlschema pywin32 + + - name: Check python installed dependencies + run: | + python3 -m pip list + echo $? + python3 -m pip show pywin32 + echo $? + python3 -c "import sys; print(sys.path)" + echo $? + python3 -c "import win32con" + echo $? + ls -l $(which python3) + echo $? + installation_path=$(pip show pywin32 | grep -i 'Location' | awk '{print $2}') + echo "import sys; sys.path.append($(pip show pywin32 | grep -i 'Location' | awk '{print $2}'))" + python3 -c "import sys; sys.path.append(\"$(pip show pywin32 | grep -i 'Location' | awk '{print $2}')\")" + echo $? + ls -l $(which python3) + echo $? - name: Update known hosts file for DNS resolver testing if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') }}