diff --git a/.github/workflows/happypose_ros_build_and_test.yaml b/.github/workflows/happypose_ros_build_and_test.yaml index a2c9150..12e8687 100644 --- a/.github/workflows/happypose_ros_build_and_test.yaml +++ b/.github/workflows/happypose_ros_build_and_test.yaml @@ -1,6 +1,12 @@ name: "Humble: Build and Test" -on: [ push, pull_request ] +on: + push: + branches: + - "main" + pull_request: + branches: + - "*" jobs: test_happypose_ros: diff --git a/happypose_ros/test/single_view_base.py b/happypose_ros/test/single_view_base.py index 5b00779..fd7551b 100644 --- a/happypose_ros/test/single_view_base.py +++ b/happypose_ros/test/single_view_base.py @@ -121,7 +121,7 @@ def test_05_trigger_pipeline(self, proc_output: ActiveIoHandler) -> None: ready = proc_output.waitFor("HappyPose initialized", timeout=0.5) assert ready, "Failed to trigger the pipeline!" - def test_04_receive_messages(self) -> None: + def test_06_receive_messages(self) -> None: self.node.assert_message_received("happypose/detections", timeout=180.0) self.node.assert_message_received("happypose/markers", timeout=6.0) self.node.assert_message_received("happypose/vision_info", timeout=6.0)