Skip to content

Commit 0423d6a

Browse files
Align coverage inputs with Pester 6.1
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 8c3366f commit 0423d6a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/actions/Get-PesterCodeCoverage/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ Summary:
7878
## Requirements
7979

8080
1. **Pester 6.1 Code Coverage Reports**
81+
8182
Preceding steps must generate JSON coverage reports named `*-CodeCoverage*.json`
83+
from the Pester 6.1 `CodeCoverage` result object. The action consumes
84+
`CoveragePercent`, `CoveragePercentTarget`, `CommandsMissed`,
85+
`CommandsExecuted`, and `FilesAnalyzed` plus their count properties.
8286

8387
2. **GitHub CLI**
8488
The action uses `gh run download` to fetch artifacts from the current workflow run

.github/actions/Test-PSModule/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ inputs:
8585
required: false
8686
CodeCoverage_OutputFormat:
8787
description: |
88-
Format to use for code coverage report. Possible values: JaCoCo, CoverageGutters, Cobertura
88+
Format to use for code coverage report. Possible values in Pester 6.1: JaCoCo or Cobertura.
8989
required: false
9090
CodeCoverage_OutputPath:
9191
description: |
@@ -113,7 +113,7 @@ inputs:
113113
required: false
114114
CodeCoverage_UseBreakpoints:
115115
description: |
116-
EXPERIMENTAL: When false, use Profiler based tracer to do CodeCoverage instead of using breakpoints.
116+
When false, use the profiler-based tracer instead of breakpoints for code coverage.
117117
required: false
118118
CodeCoverage_SingleHitBreakpoints:
119119
description: |

0 commit comments

Comments
 (0)