From b9a47bccdddb7f96f3bc51060693fb416f8eccfb Mon Sep 17 00:00:00 2001 From: Aaron Chong Date: Mon, 19 Jun 2023 09:07:02 +0000 Subject: [PATCH] Add rmf_task_sequence to workflows, lint Signed-off-by: Aaron Chong --- .github/workflows/asan.yaml | 2 +- .github/workflows/build.yaml | 3 ++- .github/workflows/tsan.yaml | 2 +- .../test/unit/test_ComposedTaskPlanning.cpp | 18 +++++++++--------- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/asan.yaml b/.github/workflows/asan.yaml index cab6e1b..465d223 100644 --- a/.github/workflows/asan.yaml +++ b/.github/workflows/asan.yaml @@ -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 - \ No newline at end of file diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7c3db2d..841337f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 \ No newline at end of file + rmf_task + rmf_task_sequence diff --git a/.github/workflows/tsan.yaml b/.github/workflows/tsan.yaml index 082dce6..653128c 100644 --- a/.github/workflows/tsan.yaml +++ b/.github/workflows/tsan.yaml @@ -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 - \ No newline at end of file diff --git a/rmf_task_sequence/test/unit/test_ComposedTaskPlanning.cpp b/rmf_task_sequence/test/unit/test_ComposedTaskPlanning.cpp index f21a651..c807424 100644 --- a/rmf_task_sequence/test/unit/test_ComposedTaskPlanning.cpp +++ b/rmf_task_sequence/test/unit/test_ComposedTaskPlanning.cpp @@ -148,27 +148,27 @@ SCENARIO("Test GoToPlace and PerformAction Compose task") rmf_task::Task::ConstBookingPtr compose_booking = std::make_shared( - "mock_id", - std::chrono::steady_clock::now(), - nullptr); + "mock_id", + std::chrono::steady_clock::now(), + nullptr); auto compose_request = std::make_shared( std::move(compose_booking), std::move(compose_task)); rmf_task::Task::ConstBookingPtr gotoplace_booking = std::make_shared( - "mock_id2", - std::chrono::steady_clock::now(), - nullptr); + "mock_id2", + std::chrono::steady_clock::now(), + nullptr); auto gotoplace_request = std::make_shared( std::move(gotoplace_booking), std::move(gotoplace_task)); rmf_task::Task::ConstBookingPtr action_booking = std::make_shared( - "mock_id3", - std::chrono::steady_clock::now(), - nullptr); + "mock_id3", + std::chrono::steady_clock::now(), + nullptr); auto action_request = std::make_shared( std::move(action_booking), std::move(action_task));