Skip to content

Commit a08d0ea

Browse files
🧪 [Test]: Keep local module tests focused
1 parent 1a5b9f3 commit a08d0ea

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

.github/workflows/Test-ModuleLocal.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -91,30 +91,3 @@ jobs:
9191
Prescript: | # This is to speed up module loading in Pester.
9292
Install-PSResource -Repository PSGallery -TrustRepository -Name PSCustomObject
9393
Import-Module -Name '${{ steps.import-module.outputs.name }}' -RequiredVersion '${{ fromJson(inputs.Settings).Publish.Module.Resolution.Version }}'
94-
95-
- name: Verify Pester framework artifact paths
96-
shell: pwsh
97-
working-directory: ${{ fromJson(inputs.Settings).WorkingDirectory }}
98-
run: |
99-
$artifactPaths = @(
100-
'.PSModule/TestResult/${{ matrix.TestName }}-${{ matrix.OSName }}-TestResult-Report.xml'
101-
'.PSModule/CodeCoverage/${{ matrix.TestName }}-${{ matrix.OSName }}-CodeCoverage-Report.xml'
102-
)
103-
104-
foreach ($artifactPath in $artifactPaths) {
105-
if (-not (Test-Path -Path $artifactPath -PathType Leaf)) {
106-
throw "Expected Pester report at [$artifactPath]."
107-
}
108-
}
109-
110-
$legacyPaths = @(
111-
'.temp'
112-
'TestResult'
113-
'CodeCoverage'
114-
)
115-
116-
foreach ($legacyPath in $legacyPaths) {
117-
if (Test-Path -Path $legacyPath) {
118-
throw "Legacy Pester artifact directory exists: [$legacyPath]."
119-
}
120-
}

0 commit comments

Comments
 (0)