Skip to content

Commit

Permalink
Reduce workload on actions | Fix test order
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotochleb committed Jul 24, 2024
1 parent 052c273 commit bd5de32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/happypose_ros_build_and_test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: "Humble: Build and Test"

on: [ push, pull_request ]
on:
push:
branches:
- "main"
pull_request:
branches:
- "*"

jobs:
test_happypose_ros:
Expand Down
2 changes: 1 addition & 1 deletion happypose_ros/test/single_view_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd5de32

Please sign in to comment.