File tree Expand file tree Collapse file tree 4 files changed +31
-0
lines changed
Expand file tree Collapse file tree 4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ jobs:
105105 mkdir -p ~/ws/src
106106 cd ~/ws/src
107107 ln -sf $GITHUB_WORKSPACE .
108+ [ ${{ matrix.ROS_DISTRO }} != "one" ] || (sudo apt install -y -qq git; sudo apt remove -y -qq ros-${{ matrix.ROS_DISTRO }}-roseus-smach; git clone https://github.com/jsk-ros-pkg/jsk_roseus.git; )
108109 rosdep install -qq -r -y --from-path . --ignore-src || echo "OK"
109110 shell : bash
110111
@@ -130,6 +131,7 @@ jobs:
130131 source ~/ws/devel/setup.bash
131132 set -x
132133 cd ~/ws/
134+ [ ${{ matrix.ROS_DISTRO }} != "one" ] || touch src/jsk_roseus/CATKIN_IGNORE
133135 catkin test --no-status -sv ${{ matrix.CATKIN_OPTIONS }} --cmake-args -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ${{ matrix.CMAKE_OPTIONS }}
134136 shell : bash
135137
Original file line number Diff line number Diff line change @@ -22,8 +22,13 @@ catkin_install_python(
2222if (CATKIN_ENABLE_TESTING)
2323 find_package (rostest REQUIRED)
2424 add_rostest(test /test_smach_py.test )
25+ add_rostest(test /test_smach_image.test )
2526 find_package (roseus QUIET )
2627 if (roseus_FOUND)
2728 add_rostest(test /test_smach_eus.test )
2829 endif ()
30+ find_package (roseus_smach QUIET )
31+ if (roseus_smach_FOUND)
32+ add_rostest(test /test_roseus_smach_state_machine_ros_sample.test )
33+ endif ()
2934endif ()
Original file line number Diff line number Diff line change 1+ <launch>
2+ <node pkg="smach_viewer"
3+ name="smach_viewer" type="smach_viewer.py"
4+ output="screen" required="true" />
5+ <node pkg="roseus_smach"
6+ name="test_smach_eus_exec_smach_simple" type="state-machine-ros-sample.l" args="'(exec-smach-simple)'" />
7+ <test test-name="smach_viewer_eus_test"
8+ pkg="smach_viewer" type="test_rosout_error.py" name="smach_viewer_eus_test" />
9+ </launch>
Original file line number Diff line number Diff line change 1+ <launch>
2+ <node pkg="smach_viewer"
3+ name="smach_viewer" type="smach_viewer.py"
4+ output="screen" />
5+ <node pkg="smach_viewer"
6+ name="test_smach_py" type="test_smach.py" />
7+ <test test-name="smach_viewer_test" pkg="rostest" type="publishtest" name="smach_viewer_test" >
8+ <rosparam>
9+ topics:
10+ - name: /smach_viewer/image
11+ timeout: 10
12+ negative: False
13+ </rosparam>
14+ </test>
15+ </launch>
You can’t perform that action at this time.
0 commit comments