Skip to content

Commit

Permalink
installing pip
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Jan 8, 2025
1 parent 7f2061a commit 9c0c0e4
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
# Set up wget
- name: Get up wget
run: apt update && apt install -y wget
- name: Get up wget, pip
run: apt update && apt install -y wget python3-pip
# Get smc_storm for testing
- name: Get smc_storm
id: get_smc_storm
Expand All @@ -36,22 +36,22 @@ jobs:
echo SMC_STORM_PATH=$PWD/bin/ >> $GITHUB_OUTPUT
# Update pip
- name: Update pip
run: python -m pip install ${{ matrix.os == 'ubuntu-24.04' && '--break-system-packages' || '' }} --upgrade pip
# workaround python 3.12 issue
- name: Install special fork of js2py
run: |
pip install --break-system-packages git+https://github.com/felixonmars/[email protected]
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: python -m pip install --upgrade pip
# # workaround python 3.12 issue
# - name: Install special fork of js2py
# run: |
# pip install --break-system-packages git+https://github.com/felixonmars/[email protected]
# if: ${{ matrix.os == 'ubuntu-24.04' }}
# install the packages
- name: Install packages
run: |
pip install ${{ matrix.os == 'ubuntu-24.04' && '--break-system-packages' || '' }} .
pip install .
# this solves
# E ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
- name: Downgrade numpy
run: |
pip install numpy==1.26.4
if: ${{ matrix.os == 'ubuntu-22.04' }}
# - name: Downgrade numpy
# run: |
# pip install numpy==1.26.4
# if: ${{ matrix.os == 'ubuntu-22.04' }}
# lint packages
# TODO: add linting
# Prepare ROS WS for the tests
Expand Down

0 comments on commit 9c0c0e4

Please sign in to comment.