File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 9595
9696| Name | Description | Required | Default |
9797| ---- | ----------- | -------- | ------- |
98- | ` Settings ` | The type of tests to run. Can be either ` Module ` or ` SourceCode ` . | ` true ` | |
9998| ` Name ` | The name of the module to test. The name of the repository is used if not specified. | ` false ` | |
99+ | ` Settings ` | The type of tests to run. Can be either ` Module ` or ` SourceCode ` . | ` true ` | |
100+ | ` CodeCoveragePercentTarget ` | The target code coverage percentage. | ` false ` | ` '0' ` |
100101| ` Debug ` | Enable debug output. | ` false ` | ` 'false' ` |
101102| ` Verbose ` | Enable verbose output. | ` false ` | ` 'false' ` |
102103| ` Version ` | Specifies the version of the GitHub module to be installed. The value must be an exact version. | ` false ` | |
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ inputs:
1212 Settings :
1313 description : The type of tests to run. Can be either 'Module' or 'SourceCode'.
1414 required : true
15+ CodeCoveragePercentTarget :
16+ description : The target code coverage percentage. This is used to determine if the code coverage meets the specified threshold.
17+ required : false
18+ default : ' 0'
1519 Debug :
1620 description : Enable debug output.
1721 required : false
@@ -111,8 +115,7 @@ runs:
111115 Verbose : ${{ inputs.Verbose }}
112116 Version : ${{ inputs.Version }}
113117 WorkingDirectory : ${{ inputs.WorkingDirectory }}
114- TestResult_Enabled : true
115118 TestResult_TestSuiteName : ${{ inputs.Settings }}-${{ runner.os }}
116- CodeCoverage_CoveragePercentTarget : 0
119+ CodeCoverage_CoveragePercentTarget : ${{ inputs.CodeCoveragePercentTarget }}
117120 Path : ${{ steps.paths.outputs.TestPath }}
118121 Run_Path : ${{ steps.paths.outputs.CodePath }}
Original file line number Diff line number Diff line change 11@ {
2- Output = @ {
2+ TestResult = @ {
3+ Enabled = $true
4+ }
5+ Output = @ {
36 Verbosity = ' Detailed'
47 }
58}
You can’t perform that action at this time.
0 commit comments