From 9ea4bfefa8477824937206c71b9544776420f6a5 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sun, 21 Jan 2024 18:31:28 +0000 Subject: [PATCH 1/3] Rename workflow and don't run on push --- .github/workflows/humble-rhel-binary-build.yml | 5 +---- .github/workflows/iron-rhel-binary-build.yml | 5 +---- .github/workflows/rolling-rhel-binary-build.yml | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/humble-rhel-binary-build.yml b/.github/workflows/humble-rhel-binary-build.yml index bb00625455..2b01079903 100644 --- a/.github/workflows/humble-rhel-binary-build.yml +++ b/.github/workflows/humble-rhel-binary-build.yml @@ -1,9 +1,6 @@ -name: Humble RHEL Binary Build +name: RHEL Humble Binary Build on: workflow_dispatch: - push: - branches: - - humble pull_request: branches: - humble diff --git a/.github/workflows/iron-rhel-binary-build.yml b/.github/workflows/iron-rhel-binary-build.yml index 67d51b216c..ffc3fcf107 100644 --- a/.github/workflows/iron-rhel-binary-build.yml +++ b/.github/workflows/iron-rhel-binary-build.yml @@ -1,9 +1,6 @@ -name: Iron RHEL Binary Build +name: RHEL Iron Binary Build on: workflow_dispatch: - push: - branches: - - iron pull_request: branches: - iron diff --git a/.github/workflows/rolling-rhel-binary-build.yml b/.github/workflows/rolling-rhel-binary-build.yml index 4e1a9f49d9..a3563c4839 100644 --- a/.github/workflows/rolling-rhel-binary-build.yml +++ b/.github/workflows/rolling-rhel-binary-build.yml @@ -1,9 +1,6 @@ -name: Rolling RHEL Binary Build +name: RHEL Rolling Binary Build on: workflow_dispatch: - push: - branches: - - master pull_request: branches: - master From a64075b22ce851bc66ceb790aac2c10c732db65b Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Mon, 22 Jan 2024 22:34:27 +0000 Subject: [PATCH 2/3] Add verbose option to test-result --- .github/workflows/humble-rhel-binary-build.yml | 2 +- .github/workflows/iron-rhel-binary-build.yml | 2 +- .github/workflows/rolling-rhel-binary-build.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/humble-rhel-binary-build.yml b/.github/workflows/humble-rhel-binary-build.yml index 2b01079903..fb7b4ce4a8 100644 --- a/.github/workflows/humble-rhel-binary-build.yml +++ b/.github/workflows/humble-rhel-binary-build.yml @@ -25,4 +25,4 @@ jobs: source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash colcon build --packages-skip rqt_controller_manager colcon test --packages-skip rqt_controller_manager ros2controlcli - colcon test-result + colcon test-result --verbose diff --git a/.github/workflows/iron-rhel-binary-build.yml b/.github/workflows/iron-rhel-binary-build.yml index ffc3fcf107..c11d214929 100644 --- a/.github/workflows/iron-rhel-binary-build.yml +++ b/.github/workflows/iron-rhel-binary-build.yml @@ -26,4 +26,4 @@ jobs: source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash colcon build --packages-skip rqt_controller_manager colcon test --packages-skip rqt_controller_manager ros2controlcli - colcon test-result + colcon test-result --verbose diff --git a/.github/workflows/rolling-rhel-binary-build.yml b/.github/workflows/rolling-rhel-binary-build.yml index a3563c4839..d31f817a9d 100644 --- a/.github/workflows/rolling-rhel-binary-build.yml +++ b/.github/workflows/rolling-rhel-binary-build.yml @@ -26,4 +26,4 @@ jobs: source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash colcon build --packages-skip rqt_controller_manager colcon test --packages-skip rqt_controller_manager ros2controlcli - colcon test-result + colcon test-result --verbose From fd816ea819459ecf365ba5fc9609ef59ffcad8ff Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Mon, 22 Jan 2024 23:16:11 +0000 Subject: [PATCH 3/3] Add names to steps --- .github/workflows/humble-rhel-binary-build.yml | 5 ++++- .github/workflows/iron-rhel-binary-build.yml | 5 ++++- .github/workflows/rolling-rhel-binary-build.yml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/humble-rhel-binary-build.yml b/.github/workflows/humble-rhel-binary-build.yml index fb7b4ce4a8..ed37092520 100644 --- a/.github/workflows/humble-rhel-binary-build.yml +++ b/.github/workflows/humble-rhel-binary-build.yml @@ -19,9 +19,12 @@ jobs: - uses: actions/checkout@v4 with: path: src/ros2_control - - run: | + - name: Install dependencies + run: | rosdep update rosdep install -iyr --from-path src/ros2_control || true + - name: Build and test + run: | source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash colcon build --packages-skip rqt_controller_manager colcon test --packages-skip rqt_controller_manager ros2controlcli diff --git a/.github/workflows/iron-rhel-binary-build.yml b/.github/workflows/iron-rhel-binary-build.yml index c11d214929..fc48bd80ea 100644 --- a/.github/workflows/iron-rhel-binary-build.yml +++ b/.github/workflows/iron-rhel-binary-build.yml @@ -20,9 +20,12 @@ jobs: - uses: actions/checkout@v4 with: path: src/ros2_control - - run: | + - name: Install dependencies + run: | rosdep update rosdep install -iyr --from-path src/ros2_control || true + - name: Build and test + run: | source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash colcon build --packages-skip rqt_controller_manager colcon test --packages-skip rqt_controller_manager ros2controlcli diff --git a/.github/workflows/rolling-rhel-binary-build.yml b/.github/workflows/rolling-rhel-binary-build.yml index d31f817a9d..06a5411c24 100644 --- a/.github/workflows/rolling-rhel-binary-build.yml +++ b/.github/workflows/rolling-rhel-binary-build.yml @@ -20,9 +20,12 @@ jobs: - uses: actions/checkout@v4 with: path: src/ros2_control - - run: | + - name: Install dependencies + run: | rosdep update rosdep install -iyr --from-path src/ros2_control || true + - name: Build and test + run: | source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash colcon build --packages-skip rqt_controller_manager colcon test --packages-skip rqt_controller_manager ros2controlcli