Skip to content

Commit 4865db7

Browse files
Copilotkelleyma49
andcommitted
Change code coverage path to track PSFzf.psm1 instead of individual source files
Co-authored-by: kelleyma49 <2152684+kelleyma49@users.noreply.github.com>
1 parent c67f14e commit 4865db7

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/scripts/Tests.ps1

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,7 @@ $config.TestResult.Enabled = $true
1212
$config.TestResult.OutputFormat = 'NUnitXml'
1313
$config.TestResult.OutputPath = $testResultsFile
1414
$config.CodeCoverage.Enabled = $true
15-
$config.CodeCoverage.Path = @(
16-
'./PSFzf.Base.ps1',
17-
'./PSFzf.Functions.ps1',
18-
'./PSFzf.Git.ps1',
19-
'./PSFzf.PSConsoleReadLineWrappers.ps1',
20-
'./PSFzf.TabExpansion.ps1'
21-
)
15+
$config.CodeCoverage.Path = './PSFzf.psm1'
2216
$config.CodeCoverage.OutputFormat = 'JaCoCo'
2317
$config.CodeCoverage.OutputPath = $coverageFile
2418
$res = Invoke-Pester -Configuration $config

0 commit comments

Comments
 (0)