Skip to content

Commit

Permalink
Reduce test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed Oct 23, 2020
1 parent de5a119 commit 38476eb
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions eng/pipelines/templates/jobs/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,42 +118,42 @@ jobs:
- DisplayName: "Test on Windows for NetCoreApp"
OSVmImage: "windows-2019"
TestTargetFramework: netcoreapp2.1
- DisplayName: "Test on Windows for NetCoreApp with UseProjectReferenceToAzureClients=true"
OSVmImage: "windows-2019"
TestTargetFramework: netcoreapp2.1
AdditionalTestArguments: /p:UseProjectReferenceToAzureClients=true
- DisplayName: "Test on Windows for .Net Framework"
OSVmImage: "windows-2019"
TestTargetFramework: net461
- DisplayName: "Test on Windows for .Net Framework with UseProjectReferenceToAzureClients=true"
OSVmImage: "windows-2019"
TestTargetFramework: net461
AdditionalTestArguments: /p:UseProjectReferenceToAzureClients=true
# - DisplayName: "Test on Windows for NetCoreApp with UseProjectReferenceToAzureClients=true"
# OSVmImage: "windows-2019"
# TestTargetFramework: netcoreapp2.1
# AdditionalTestArguments: /p:UseProjectReferenceToAzureClients=true
# - DisplayName: "Test on Windows for .Net Framework"
# OSVmImage: "windows-2019"
# TestTargetFramework: net461
# - DisplayName: "Test on Windows for .Net Framework with UseProjectReferenceToAzureClients=true"
# OSVmImage: "windows-2019"
# TestTargetFramework: net461
# AdditionalTestArguments: /p:UseProjectReferenceToAzureClients=true
- DisplayName: "Test on MacOS"
OSVmImage: "macOS-10.15"
TestTargetFramework: netcoreapp2.1
- ${{ if eq(parameters.TestCanary, 'true') }}:
- DisplayName: "Test on Windows for NetCoreApp - Canary region"
OSVmImage: "windows-2019"
TestTargetFramework: netcoreapp2.1
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview)
Location: ${{ parameters.ResourceGroupLocationCanary }}
- DisplayName: "Record on Windows for NetCoreApp"
OSVmImage: "windows-2019"
TestMode: Record
TestTargetFramework: netcoreapp2.1
AdditionalTestArguments: /p:AutoUpdateSessionRecords=true
PostSteps:
- task: CopyFiles@2
displayName: "Copy Test Recordings"
inputs:
sourceFolder: '$(Build.SourcesDirectory)'
contents: 'sdk/${{ parameters.ServiceDirectory }}/**/SessionRecords/**/*.json'
targetFolder: '$(Build.ArtifactStagingDirectory)/SessionRecords'
- task: PublishBuildArtifacts@1
displayName: "Publish Test Recordings"
inputs:
pathToPublish: '$(Build.ArtifactStagingDirectory)/SessionRecords'
artifactName: SessionRecords
# - ${{ if eq(parameters.TestCanary, 'true') }}:
# - DisplayName: "Test on Windows for NetCoreApp - Canary region"
# OSVmImage: "windows-2019"
# TestTargetFramework: netcoreapp2.1
# SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview)
# Location: ${{ parameters.ResourceGroupLocationCanary }}
# - DisplayName: "Record on Windows for NetCoreApp"
# OSVmImage: "windows-2019"
# TestMode: Record
# TestTargetFramework: netcoreapp2.1
# AdditionalTestArguments: /p:AutoUpdateSessionRecords=true
# PostSteps:
# - task: CopyFiles@2
# displayName: "Copy Test Recordings"
# inputs:
# sourceFolder: '$(Build.SourcesDirectory)'
# contents: 'sdk/${{ parameters.ServiceDirectory }}/**/SessionRecords/**/*.json'
# targetFolder: '$(Build.ArtifactStagingDirectory)/SessionRecords'
# - task: PublishBuildArtifacts@1
# displayName: "Publish Test Recordings"
# inputs:
# pathToPublish: '$(Build.ArtifactStagingDirectory)/SessionRecords'
# artifactName: SessionRecords

- ${{ parameters.AdditionalPlatforms }}

0 comments on commit 38476eb

Please sign in to comment.