Skip to content

Commit

Permalink
Actually install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdivo committed May 11, 2024
1 parent 44b3fb7 commit 32f7058
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,22 @@ jobs:
run: |
apt-get update -q
apt-get install -qy python3-pip python-is-python3 ros-dev-tools
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep init
rosdep update
rosdep install --from-paths ros2_easy_test
colcon build --symlink-install
# There seems to be no other way to install the PiPI dependencies:
export PIP_BREAK_SYSTEM_PACKAGES=1
pip install -e './ros2_easy_test[dev]'
- run: echo "ROS_DISTRO=$ROS_DISTRO" >> "$GITHUB_OUTPUT"
id: save_envs
-
uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ steps.save_envs.outputs.ROS_DISTRO }}
package-name: ros2_easy_test
skip-tests: true
# - run: echo "ROS_DISTRO=$ROS_DISTRO" >> "$GITHUB_OUTPUT"
# id: save_envs
# -
# uses: ros-tooling/[email protected]
# with:
# target-ros2-distro: ${{ steps.save_envs.outputs.ROS_DISTRO }}
# package-name: ros2_easy_test
# skip-tests: true
-
name: Format (with ruff)
run: |
Expand Down

0 comments on commit 32f7058

Please sign in to comment.