Feature/mw/fields2cover2 #88
Workflow file for this run
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
name: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
jammy_rolling: | |
runs-on: ubuntu-latest | |
env: | |
ROS_DISTRO: ${{ matrix.ros_distro }} | |
RMW_IMPLEMENTATION: rmw_cyclonedds_cpp | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distro: [rolling] | |
steps: | |
- name: checkout source | |
uses: actions/checkout@v4 | |
- name: run apt update | |
run: sudo apt update | |
- name: run apt --list-upgradable | |
run: sudo apt --list-upgradeable | |
- name: run apt upgrade python3-rosdep | |
run: sudo apt-get upgrade python3-rosdep -y | |
- name: Install Cyclone DDS | |
run: sudo apt install ros-${{ matrix.ros_distro }}-rmw-cyclonedds-cpp -y | |
- name: Build and run tests | |
id: action-ros-ci | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: "opennav_coverage_demo" | |
target-ros2-distro: ${{ matrix.ros_distro }} | |
vcs-repo-file-url: "${{ github.workspace }}/.github/deps.repos" | |
colcon-defaults: | | |
{ | |
"test": { | |
"packages-select": [ | |
"opennav_coverage", | |
"opennav_coverage_bt", | |
"opennav_row_coverage", | |
"opennav_coverage_navigator", | |
"opennav_coverage_demo" | |
] | |
} | |
} | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: colcon-logs | |
path: ros_ws/log | |
noble_rolling: | |
runs-on: ubuntu-latest | |
env: | |
ROS_DISTRO: ${{ matrix.ros_distro }} | |
RMW_IMPLEMENTATION: rmw_cyclonedds_cpp | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distro: [rolling] | |
steps: | |
- name: checkout source | |
uses: actions/checkout@v4 | |
- name: run apt update | |
run: apt update | |
- name: run apt list --upgradable | |
run: apt list --upgradeable | |
- name: run apt upgrade python3-rosdep -y | |
run: apt upgrade python3-rosdep -y | |
- name: Unistall python nose - uses imp not supported python3.12 | |
run: pip uninstall nose | |
env: | |
PIP_BREAK_SYSTEM_PACKAGES: 1 | |
- name: Install Cyclone DDS | |
run: sudo apt install ros-${{ matrix.ros_distro }}-rmw-cyclonedds-cpp -y | |
- name: Build and run tests | |
id: action-ros-ci | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: "opennav_coverage_demo" | |
target-ros2-distro: ${{ matrix.ros_distro }} | |
vcs-repo-file-url: "${{ github.workspace }}/.github/deps.repos" | |
colcon-defaults: | | |
{ | |
"test": { | |
"packages-select": [ | |
"opennav_coverage", | |
"opennav_coverage_bt", | |
"opennav_row_coverage", | |
"opennav_coverage_navigator", | |
"opennav_coverage_demo" | |
] | |
} | |
} | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: noble-colcon-logs | |
path: ros_ws/log |