From 683f26bfbed5b9de98b36c8638f67042336697c5 Mon Sep 17 00:00:00 2001 From: Leon De Andrade Date: Wed, 27 Sep 2023 10:30:24 +0200 Subject: [PATCH] Add test summary --- .github/workflows/main.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa8af10..cc27ad5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,13 +23,10 @@ env: jobs: build: runs-on: ubuntu-22.04 - defaults: run: shell: bash - steps: - - name: Checkout Rail Horizon code including submodules recursively uses: actions/checkout@v3 with: @@ -51,20 +48,19 @@ jobs: - name: Build Rail Horizon run: | source /opt/ros/humble/setup.bash - export RMW_IMPLEMENTATION=rmw_fastrtps_cpp colcon build --base-paths src --cmake-args -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON --event-handlers console_cohesion+ --packages-up-to dsd_rail_horizon colcon build --base-paths src --cmake-args -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON --event-handlers console_cohesion+ --packages-up-to dsd_mission_profile - name: Run tests run: | source /opt/ros/humble/setup.bash && source ./install/local_setup.bash - export RMW_IMPLEMENTATION=rmw_fastrtps_cpp - colcon test --packages-select dsd_rail_horizon_core dsd_mission_profile --return-code-on-test-failure --ctest-arg -E "overTheAirUpdateIsSucessfull" + colcon test --packages-select dsd_rail_horizon_core dsd_mission_profile --return-code-on-test-failure + colcon test-result --verbose --all - - name: Upload build files - if: success() || failure() - uses: actions/upload-artifact@v3 - with: - name: build-folder - path: | - build + # - name: Upload build files + # if: success() || failure() + # uses: actions/upload-artifact@v3 + # with: + # name: build-folder + # path: | + # build