From cbd255e461123a980212355a562ea75ece299f04 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 28 Feb 2019 14:38:45 -0800 Subject: [PATCH] Code coverage artifacts (#8993) Move the `TestPackage.zip` under code coverage and remove `tests.zip` as it is not needed anymore. --- tools/ci.psm1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/ci.psm1 b/tools/ci.psm1 index 2efe4b7f6d..a74dbf1269 100644 --- a/tools/ci.psm1 +++ b/tools/ci.psm1 @@ -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'))