From bb95d7820f8be04731820af02e24a3518c0c782a Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Wed, 18 Oct 2023 07:36:39 +0000 Subject: [PATCH] Add test reports Add a test report stage to the ICI. This should get a summary of our tests to the status page and show failed tests in PRs directly. Also, with this we will get statistics about flaky tests (if there are). --- .github/workflows/reusable_ici.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/reusable_ici.yml b/.github/workflows/reusable_ici.yml index b47569fcd..d45ff1eb2 100644 --- a/.github/workflows/reusable_ici.yml +++ b/.github/workflows/reusable_ici.yml @@ -51,3 +51,10 @@ jobs: ROS_DISTRO: ${{ inputs.ros_distro }} ROS_REPO: ${{ inputs.ros_repo }} CMAKE_ARGS: -DUR_ROBOT_DRIVER_BUILD_INTEGRATION_TESTS=ON + BASEDIR: ${{ github.workspace }}/.build + - name: Publish Test Results + uses: EnricoMi/publish-unit-test-result-action@v2 + if: always() + with: + files: | + ${{ github.workspace }}/.build/target_ws/build/**/test_results/**/*.xml