Skip to content

Commit

Permalink
Refs #20827: TODO REMOVE THIS
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso committed Apr 30, 2024
1 parent 2ac5370 commit 9d45f8b
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/reusable-ubuntu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,24 @@ jobs:
- name: Install Python dependencies
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@hotfix/python
with:
packages: vcstool
packages: vcstool xmlschema==3.0.2
upgrade: false

- name: Install Python dependencies
- name: Install xmlschema in specific python installation lib folder
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@hotfix/python
with:
packages: xmlschema
packages: xmlschema==3.0.2
upgrade: false
path: $( which python3 )/../../lib

#- name: Source python installed dependencies
# run: |
# python3 -c "import sys; sys.path.append(\"$(pip show xmlschema | grep -i 'Location' | awk '{print $2}')\")"
path: $(dirname "$(dirname "$( which python3 )")")/lib/python$(python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")/site-packages

- name: Debug checks and prints
run: |
echo "which pip3: $( which pip3 )"
which pip3
echo "$(dirname "$(dirname "$( which python3 )")")/lib/python$(python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")/site-packages"
ls -la $(dirname "$(dirname "$( which python3 )")")/lib/python$(python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")/site-packages
echo "$(pip show xmlschema | grep -i 'Location' | awk '{print $2}')"
ls -la "$(pip show xmlschema | grep -i 'Location' | awk '{print $2}')"
- name: Setup CCache
uses: eProsima/eProsima-CI/external/setup-ccache-action@hotfix/python
Expand Down

0 comments on commit 9d45f8b

Please sign in to comment.