mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Allow selection of dorny/test-reporter's report name.
This commit is contained in:
7
.github/workflows/PublishTestResults.yml
vendored
7
.github/workflows/PublishTestResults.yml
vendored
@@ -35,6 +35,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: '"--pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit"'
|
default: '"--pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit"'
|
||||||
type: string
|
type: string
|
||||||
|
report_title:
|
||||||
|
description: 'Title of the summary report in the pipeline''s sidebar'
|
||||||
|
required: false
|
||||||
|
default: 'Unit Test Results'
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
PublishTestResults:
|
PublishTestResults:
|
||||||
@@ -71,7 +76,7 @@ jobs:
|
|||||||
- name: 📊 Publish Unit Test Results
|
- name: 📊 Publish Unit Test Results
|
||||||
uses: dorny/test-reporter@v1
|
uses: dorny/test-reporter@v1
|
||||||
with:
|
with:
|
||||||
name: Unit Test Results
|
name: ${{ inputs.report_title }}
|
||||||
path: Unittesting.xml
|
path: Unittesting.xml
|
||||||
reporter: java-junit
|
reporter: java-junit
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user