Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build/runsettings.proj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
Properties="RunName=NuGet.Tests.Apex;
FileName=NuGet.Tests.Apex.dll;" />

<!-- NuGet.Tests.Apex.Gate.runsettings (VS test gate - runs only [TestCategory("Gate")] tests) -->
<MSBuild
Projects="template.runsettingsproj"
Properties="RunName=NuGet.Tests.Apex.Gate;
FileName=NuGet.Tests.Apex.dll;
TestCaseFilter=TestCategory=Gate;" />

<!-- NuGet.Tests.Apex.Daily.runsettings -->
<MSBuild
Projects="template.runsettingsproj"
Expand Down
15 changes: 15 additions & 0 deletions eng/pipelines/vs-test/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ steps:
Write-Host "##vso[task.setvariable variable=RunSettingsDrop]$runSettingsDrop"
Write-Host "##vso[task.setvariable variable=RunSettingsDrop;isOutput=true]$runSettingsDrop"

# Test gate drop — mirrors the product drop path with Tests/ prefix so the VS gate can find it by NuGet version
$testsDrop = "${env:MicroBuild_ManifestDropName}" -replace '^Products/', 'Tests/'
Write-Host "Tests Drop: $testsDrop"
Write-Host "##vso[task.setvariable variable=TestsDrop]$testsDrop"

$vsBootstrapperBranch = dotnet msbuild -getProperty:VsTargetBranch build\config.props
Write-Host "VS Bootstrapper Branch: $vsBootstrapperBranch"
Write-Host "##vso[task.setvariable variable=VsBootstrapperBranch;isOutput=true]$vsBootstrapperBranch"
Expand Down Expand Up @@ -306,6 +311,16 @@ steps:
usePat: true
dropMetadataContainerName: "DropMetadata-RunSettings"

- task: artifactDropTask@0
displayName: "Publish test gate drop"
inputs:
dropServiceURI: "https://devdiv.artifacts.visualstudio.com"
buildNumber: "$(TestsDrop)"
sourcePath: '$(Build.StagingDirectory)\RunSettings'
toLowerCase: false
usePat: true
dropMetadataContainerName: "DropMetadata-TestGate"

- task: PublishPipelineArtifact@1
displayName: "Publish E2E tests"
inputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class IVsServicesTestCase : SharedVisualStudioHostTestClass

[TestMethod]
[Timeout(LongerTimeout)]
[TestCategory("Gate")]
public void SimpleInstallFromIVsInstaller()
{
// Arrange
Expand Down