From cd17de9b93dacf960559409ba33d9d2ab9759460 Mon Sep 17 00:00:00 2001 From: Manan Gupta <35839558+GuptaManan100@users.noreply.github.com> Date: Thu, 13 Jun 2024 22:53:11 +0530 Subject: [PATCH] Add Summary in unit-race workflow (#16164) Signed-off-by: Manan Gupta --- .github/workflows/unit_race.yml | 9 ++++++++- .github/workflows/unit_race_evalengine.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_race.yml b/.github/workflows/unit_race.yml index c07bad84490..277a29df216 100644 --- a/.github/workflows/unit_race.yml +++ b/.github/workflows/unit_race.yml @@ -143,4 +143,11 @@ jobs: fi # print test output - cat output.txt \ No newline at end of file + cat output.txt + + - name: Test Summary + if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.unit_tests == 'true' && always() + uses: test-summary/action@v2 + with: + paths: "report.xml" + show: "fail, skip" diff --git a/.github/workflows/unit_race_evalengine.yml b/.github/workflows/unit_race_evalengine.yml index 0de2d60a5ae..02ac005a0a5 100644 --- a/.github/workflows/unit_race_evalengine.yml +++ b/.github/workflows/unit_race_evalengine.yml @@ -143,4 +143,11 @@ jobs: fi # print test output - cat output.txt \ No newline at end of file + cat output.txt + + - name: Test Summary + if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.unit_tests == 'true' && always() + uses: test-summary/action@v2 + with: + paths: "report.xml" + show: "fail, skip"