diff --git a/.github/workflows/ros_integration_tests.yml b/.github/workflows/ros_integration_tests.yml index 02584ac0d4..b89e6223f6 100644 --- a/.github/workflows/ros_integration_tests.yml +++ b/.github/workflows/ros_integration_tests.yml @@ -11,13 +11,11 @@ on: - 'main' paths-ignore: - 'docs/**' - - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - - '.github/**' jobs: build: @@ -33,6 +31,12 @@ jobs: - name: Git Ownership Workaround run: git config --system --add safe.directory '*' + - name: Update ROS Keys + run: | + sudo rm /etc/apt/sources.list.d/ros2.list && \ + sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg && \ + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null + - name: Install gazebo run: | apt update && apt install -y gazebo11 libgazebo11-dev gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly libgstreamer-plugins-base1.0-dev