-
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.
For the ROSCon workshop we need to support Jazzy (#7)
* adding jazzy tests * pip break-system-packages * break-system-packages only under 24.04 * removing unused packages * a fork of js2py that supports 3.12 * clarification btlib * documentation of support for py 3.12 --------- Signed-off-by: Christian Henkel <[email protected]>
- Loading branch information
Showing
4 changed files
with
27 additions
and
7 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 |
---|---|---|
|
@@ -9,10 +9,15 @@ on: | |
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ros-distro: [ "humble" ] | ||
include: | ||
- ros-distro: jazzy | ||
os: ubuntu-24.04 | ||
- ros-distro: humble | ||
os: ubuntu-22.04 | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
# Checkout the repository | ||
- name: Checkout repository | ||
|
@@ -29,6 +34,13 @@ jobs: | |
repository: boschresearch/bt_tools | ||
ref: main | ||
path: colcon_ws/src/bt_tools | ||
# Remove unused packages from checked out bt_tools | ||
- name: Remove packages we don't need | ||
run: | | ||
rm -rf colcon_ws/src/bt_tools/bt_live | ||
rm -rf colcon_ws/src/bt_tools/bt_tools | ||
rm -rf colcon_ws/src/bt_tools/bt_tools_common | ||
rm -rf colcon_ws/src/bt_tools/bt_view | ||
# Compile bt_tools TODO: remove after the release of bt_tools | ||
- name: Compile bt_tools | ||
run: | | ||
|
@@ -49,14 +61,19 @@ jobs: | |
echo SMC_STORM_PATH=$PWD/bin/ >> $GITHUB_OUTPUT | ||
# Update pip | ||
- name: Update pip | ||
run: python -m pip install --upgrade 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' }} | ||
# install the packages | ||
- name: Install packages | ||
run: | | ||
source colcon_ws/install/setup.bash # TODO: remove after the release of bt_tools | ||
pip install jani_generator/.[dev] | ||
pip install as2fm_common/.[dev] | ||
pip install scxml_converter/.[dev] | ||
pip install ${{ matrix.os == 'ubuntu-24.04' && '--break-system-packages' || '' }} jani_generator/.[dev] | ||
pip install ${{ matrix.os == 'ubuntu-24.04' && '--break-system-packages' || '' }} as2fm_common/.[dev] | ||
pip install ${{ matrix.os == 'ubuntu-24.04' && '--break-system-packages' || '' }} scxml_converter/.[dev] | ||
# lint packages | ||
# TODO: add linting | ||
# run the tests | ||
|
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
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
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