Skip to content

Commit

Permalink
ci: implement timer using timeout command
Browse files Browse the repository at this point in the history
  • Loading branch information
uhobeike committed Jun 1, 2024
1 parent 7fe5e20 commit a79688b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Exec
run: |
source /root/ros2_ws/install/setup.bash
ros2 run emcl2 test.bash
timeout 240 ros2 run emcl2 test.bash
shell: bash

retry:
Expand Down
2 changes: 0 additions & 2 deletions test/test.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash -evx

(sleep 240 && exit 1) &

ros2 daemon stop
ros2 daemon start

Expand Down

0 comments on commit a79688b

Please sign in to comment.