Skip to content

Commit

Permalink
Add rmf_task_sequence to workflows, lint (#91)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Jun 19, 2023
1 parent a7875a9 commit 40f3e92
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/asan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
# NOTE: Avoid adding comments in the package lines, this can break some of the called scripts in github actions
packages: |
rmf_task
rmf_task_sequence
mixin: asan

3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ jobs:
with:
# NOTE: Avoid adding comments in the package lines, this can break some of the called scripts in github actions
packages: |
rmf_task
rmf_task
rmf_task_sequence
2 changes: 1 addition & 1 deletion .github/workflows/tsan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
# NOTE: Avoid adding comments in the package lines, this can break some of the called scripts in github actions
packages: |
rmf_task
rmf_task_sequence
mixin: tsan

18 changes: 9 additions & 9 deletions rmf_task_sequence/test/unit/test_ComposedTaskPlanning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,27 +148,27 @@ SCENARIO("Test GoToPlace and PerformAction Compose task")

rmf_task::Task::ConstBookingPtr compose_booking =
std::make_shared<const rmf_task::Task::Booking>(
"mock_id",
std::chrono::steady_clock::now(),
nullptr);
"mock_id",
std::chrono::steady_clock::now(),
nullptr);
auto compose_request = std::make_shared<rmf_task::Request>(
std::move(compose_booking),
std::move(compose_task));

rmf_task::Task::ConstBookingPtr gotoplace_booking =
std::make_shared<const rmf_task::Task::Booking>(
"mock_id2",
std::chrono::steady_clock::now(),
nullptr);
"mock_id2",
std::chrono::steady_clock::now(),
nullptr);
auto gotoplace_request = std::make_shared<rmf_task::Request>(
std::move(gotoplace_booking),
std::move(gotoplace_task));

rmf_task::Task::ConstBookingPtr action_booking =
std::make_shared<const rmf_task::Task::Booking>(
"mock_id3",
std::chrono::steady_clock::now(),
nullptr);
"mock_id3",
std::chrono::steady_clock::now(),
nullptr);
auto action_request = std::make_shared<rmf_task::Request>(
std::move(action_booking),
std::move(action_task));
Expand Down

0 comments on commit 40f3e92

Please sign in to comment.