mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Fix nuget authenticate (#1168)
This commit is contained in:
@@ -7,17 +7,19 @@ steps:
|
|||||||
displayName: 'Download secure file'
|
displayName: 'Download secure file'
|
||||||
inputs:
|
inputs:
|
||||||
secureFile: 'testsettings.json'
|
secureFile: 'testsettings.json'
|
||||||
|
|
||||||
- task: VisualStudioTestPlatformInstaller@1
|
- task: VisualStudioTestPlatformInstaller@1
|
||||||
displayName: 'Visual Studio Test Platform Installer'
|
displayName: 'Visual Studio Test Platform Installer'
|
||||||
inputs:
|
inputs:
|
||||||
versionSelector: latestStable
|
versionSelector: latestStable
|
||||||
|
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
displayName: 'Use .NET Core sdk '
|
displayName: 'Use .NET Core sdk '
|
||||||
inputs:
|
inputs:
|
||||||
useGlobalJson: true
|
useGlobalJson: true
|
||||||
|
|
||||||
|
- task: NuGetAuthenticate@0
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: 'dotnet build'
|
displayName: 'dotnet build'
|
||||||
inputs:
|
inputs:
|
||||||
@@ -30,7 +32,7 @@ steps:
|
|||||||
SourceFolder: '$(Agent.TempDirectory)'
|
SourceFolder: '$(Agent.TempDirectory)'
|
||||||
Contents: '**\testsettings.json'
|
Contents: '**\testsettings.json'
|
||||||
TargetFolder: '$(Build.SourcesDirectory)\test\Microsoft.SqlTools.ServiceLayer.IntegrationTests\bin\Debug\netcoreapp3.1'
|
TargetFolder: '$(Build.SourcesDirectory)\test\Microsoft.SqlTools.ServiceLayer.IntegrationTests\bin\Debug\netcoreapp3.1'
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: 'Run integration tests'
|
displayName: 'Run integration tests'
|
||||||
inputs:
|
inputs:
|
||||||
@@ -39,7 +41,7 @@ steps:
|
|||||||
arguments: '--no-build'
|
arguments: '--no-build'
|
||||||
testRunTitle: 'SqlToolsService Integration Tests'
|
testRunTitle: 'SqlToolsService Integration Tests'
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
- task: VSTest@2
|
- task: VSTest@2
|
||||||
displayName: 'Run integration tests with code coverage'
|
displayName: 'Run integration tests with code coverage'
|
||||||
inputs:
|
inputs:
|
||||||
@@ -52,4 +54,3 @@ steps:
|
|||||||
rerunFailedThreshold: 15
|
rerunFailedThreshold: 15
|
||||||
rerunMaxAttempts: 1
|
rerunMaxAttempts: 1
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
||||||
Reference in New Issue
Block a user