From ea96cce0d10a256556000ac0137ea347cb01c0ec Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 22 Sep 2024 23:53:05 +0200 Subject: [PATCH] Allow selection of dorny/test-reporter's report name. --- .github/workflows/PublishTestResults.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PublishTestResults.yml b/.github/workflows/PublishTestResults.yml index 118e286..dcfbd9e 100644 --- a/.github/workflows/PublishTestResults.yml +++ b/.github/workflows/PublishTestResults.yml @@ -35,6 +35,11 @@ on: required: false default: '"--pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit"' type: string + report_title: + description: 'Title of the summary report in the pipeline''s sidebar' + required: false + default: 'Unit Test Results' + type: string jobs: PublishTestResults: @@ -71,7 +76,7 @@ jobs: - name: 📊 Publish Unit Test Results uses: dorny/test-reporter@v1 with: - name: Unit Test Results + name: ${{ inputs.report_title }} path: Unittesting.xml reporter: java-junit