mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Code coverage artifacts (#8993)
Move the `TestPackage.zip` under code coverage and remove `tests.zip` as it is not needed anymore.
This commit is contained in:
committed by
Travis Plunk
parent
d7dd4b5dd2
commit
cbd255e461
+1
-4
@@ -429,7 +429,7 @@ function Invoke-CIAfterTest
|
||||
$testPackageFullName = Join-Path $pwd 'TestPackage.zip'
|
||||
Write-Verbose "Created TestPackage.zip" -Verbose
|
||||
Write-Host -ForegroundColor Green 'Upload test package'
|
||||
Push-Artifact $testPackageFullName -Name 'artifacts'
|
||||
Push-Artifact $testPackageFullName -Name 'CodeCoverage'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -465,9 +465,6 @@ function Compress-CoverageArtifacts
|
||||
|
||||
# Create archive for test content, OpenCover module and CodeCoverage build
|
||||
$artifacts = New-Object System.Collections.ArrayList
|
||||
$zipTestContentPath = Join-Path $pwd 'tests.zip'
|
||||
Compress-TestContent -Destination $zipTestContentPath
|
||||
$null = $artifacts.Add($zipTestContentPath)
|
||||
|
||||
Add-Type -AssemblyName System.IO.Compression.FileSystem
|
||||
$resolvedPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath((Join-Path $PSScriptRoot '..\test\tools\OpenCover'))
|
||||
|
||||
Reference in New Issue
Block a user