-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a51d93
commit d79a8aa
Showing
1 changed file
with
18 additions
and
15 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 |
---|---|---|
|
@@ -8,23 +8,27 @@ on: | |
jobs: | ||
black: | ||
name: Black | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: psf/black@stable | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Black | ||
uses: psf/[email protected] | ||
with: | ||
options: --line-length=99 | ||
|
||
spellcheck: | ||
name: Spellcheck | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: rojopolis/[email protected] | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Spellcheck | ||
uses: rojopolis/[email protected] | ||
|
||
industrial_ci: | ||
name: Industrial CI | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
|
@@ -45,16 +49,15 @@ jobs: | |
cp -r src/ros2_controllers/imu_sensor_broadcaster src/ | ||
rm -rf src/ros2_controllers | ||
- name: Leave only ROSbot tests | ||
# Package micro_ros_msgs does not have industrial ci and tests does not pass. | ||
# For more information see https://github.com/micro-ROS/micro_ros_msgs/issues/7 | ||
- name: Remove tests from micro_ros_msgs | ||
shell: bash | ||
run: | | ||
sed '/if(BUILD_TESTING)/,/endif()/d' src/diff_drive_controller/CMakeLists.txt -i | ||
sed '/if(BUILD_TESTING)/,/endif()/d' src/imu_sensor_broadcaster/CMakeLists.txt -i | ||
# Package micro_ros_msgs does not have industrial ci and tests does not pass. | ||
# For more information see https://github.com/micro-ROS/micro_ros_msgs/issues/7 | ||
sed '/if(BUILD_TESTING)/,/endif()/d' src/micro_ros_msgs/CMakeLists.txt -i | ||
run: sed '/if(BUILD_TESTING)/,/endif()/d' src/micro_ros_msgs/CMakeLists.txt -i | ||
|
||
- uses: ros-industrial/industrial_ci@master | ||
- name: Running ROS Industrial CI | ||
uses: ros-industrial/industrial_ci@master | ||
env: | ||
ROS_DISTRO: ${{matrix.ROS_DISTRO}} | ||
DOCKER_IMAGE: ros:${{matrix.ROS_DISTRO}}-ros-base | ||
IMMEDIATE_TEST_OUTPUT: true |