From cfc87c2b2ac147cf08f7e9bf5aacd4e59cbaf731 Mon Sep 17 00:00:00 2001 From: Leon De Andrade <Leon.de-andrade@deutschebahn.com> Date: Wed, 27 Sep 2023 10:53:31 +0200 Subject: [PATCH] Run test output also on failure --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc27ad5..475c8c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,6 +55,11 @@ jobs: run: | source /opt/ros/humble/setup.bash && source ./install/local_setup.bash colcon test --packages-select dsd_rail_horizon_core dsd_mission_profile --return-code-on-test-failure + + - name: Print test results + if: success() || failure() + run: | + source /opt/ros/humble/setup.bash && source ./install/local_setup.bash colcon test-result --verbose --all # - name: Upload build files