-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Christian Henkel <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|