Skip to content

Commit ee046ff

Browse files
feat: add testResultsFolder output (#20)
Add output testResultsFolder to the action, providing the path on the runner where the test result json files are stored to enable further processing of test results. This will enable further processing of test results, such as uploading them to the Artifacts of a job for manual review.
1 parent 549aac4 commit ee046ff

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ The example below illustrates how the action can be used for a repository of mul
7373
|**testExecutionLinks**|Comma-separated list of URLs to directly access the test execution(s) triggered by this action|
7474
|**testResults**|Markdown formatted table listing the tests that have been run and whether they passed or failed. Each project tested gets its table with a link to the test execution(s) in Orchestrator as part of its header. If no test cases were found for a project, nor set as publishable, a warning message is added.|
7575
|**containsPublishableTestCases**|Boolean value indicating whether any test cases set as publishable were found in the repository|
76+
|**testResultsFolder**|Path to the folder where the test result JSON files created by the UiPath CLI are stored. Can be used for further processing, such as uploading to Artifacts or sending to another action.|

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ outputs:
3737
containsPublishableTestCases:
3838
description: 'Boolean value indicating whether any test cases set as publishable were found in the repository'
3939
value: ${{ steps.run_tests.outputs.containsPublishableTestCases }}
40+
testResultsFolder:
41+
description: |
42+
Path to the folder where the test result JSON files created by the UiPath CLI are stored.
43+
Can be used for further processing, such as uploading to Artifacts or sending to another action.
44+
value: ${{ steps.run_tests.outputs.testResultsFolder }}
4045

4146
runs:
4247
using: "composite"

0 commit comments

Comments
 (0)