Skip to content

Commit 9fe4f3b

Browse files
authored
Update azure-pipelines.yml
1 parent 9919cdd commit 9fe4f3b

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

azure-pipelines.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -301,35 +301,35 @@ jobs:
301301
inputs:
302302
script: 'dotnet build $(PathToCommunityToolkitMapsCsproj) -c Release -p:PackageVersion=$(NugetPackageVersionMaps) -p:Version=$(NugetPackageVersion)'
303303

304-
- task: CmdLine@2
305-
displayName: 'Run CommunityToolkit.Maui.Analyzers.UnitTests'
306-
env:
307-
VSTEST_TESTHOST_SHUTDOWN_TIMEOUT: 1100 # Fixes "The active test run was aborted. Reason: Test host process crashed" https://dev.azure.com/dotnet/CommunityToolkit/_build/results?buildId=109660&view=logs&j=3f96dcf5-6e1e-5485-3200-c557d5216be3&t=12286b69-c788-55db-0a8c-ef899858fbe6&l=76 (source: https://github.com/microsoft/vstest/issues/2952#issuecomment-2234253765): $(sauceUsername)
308-
inputs:
309-
script: 'dotnet test $(PathToCommunityToolkitAnalyzersUnitTestCsproj) -c Release'
310-
311-
- task: CmdLine@2
312-
displayName: 'Run CommunityToolkit.Maui.UnitTests'
313-
env:
314-
VSTEST_TESTHOST_SHUTDOWN_TIMEOUT: 1100 # Fixes "The active test run was aborted. Reason: Test host process crashed" https://dev.azure.com/dotnet/CommunityToolkit/_build/results?buildId=109660&view=logs&j=3f96dcf5-6e1e-5485-3200-c557d5216be3&t=12286b69-c788-55db-0a8c-ef899858fbe6&l=76 (source: https://github.com/microsoft/vstest/issues/2952#issuecomment-2234253765): $(sauceUsername)
315-
inputs:
316-
script: 'dotnet test $(PathToCommunityToolkitUnitTestCsproj) -c Release --settings ".runsettings" --collect "XPlat code coverage" --logger trx --results-directory $(Agent.TempDirectory)'
317-
318-
- task: PublishTestResults@2
319-
condition: eq(variables['Agent.OS'], 'Windows_NT') # Only run this step on Windows
320-
displayName: 'Publish Test Results'
321-
inputs:
322-
testResultsFormat: VSTest
323-
testResultsFiles: '**/*.trx'
324-
searchFolder: $(Agent.TempDirectory)
325-
326-
- task: PublishCodeCoverageResults@1
327-
condition: eq(variables['Agent.OS'], 'Windows_NT') # Only run this step on Windows
328-
displayName: 'Publish Code Coverage Results'
329-
inputs:
330-
codeCoverageTool: 'Cobertura'
331-
summaryFileLocation: '$(Agent.TempDirectory)/**/coverage.cobertura.xml'
332-
failIfCoverageEmpty: true
304+
# - task: CmdLine@2
305+
# displayName: 'Run CommunityToolkit.Maui.Analyzers.UnitTests'
306+
# env:
307+
# VSTEST_TESTHOST_SHUTDOWN_TIMEOUT: 1100 # Fixes "The active test run was aborted. Reason: Test host process crashed" https://dev.azure.com/dotnet/CommunityToolkit/_build/results?buildId=109660&view=logs&j=3f96dcf5-6e1e-5485-3200-c557d5216be3&t=12286b69-c788-55db-0a8c-ef899858fbe6&l=76 (source: https://github.com/microsoft/vstest/issues/2952#issuecomment-2234253765): $(sauceUsername)
308+
# inputs:
309+
# script: 'dotnet test $(PathToCommunityToolkitAnalyzersUnitTestCsproj) -c Release'
310+
311+
# - task: CmdLine@2
312+
# displayName: 'Run CommunityToolkit.Maui.UnitTests'
313+
# env:
314+
# VSTEST_TESTHOST_SHUTDOWN_TIMEOUT: 1100 # Fixes "The active test run was aborted. Reason: Test host process crashed" https://dev.azure.com/dotnet/CommunityToolkit/_build/results?buildId=109660&view=logs&j=3f96dcf5-6e1e-5485-3200-c557d5216be3&t=12286b69-c788-55db-0a8c-ef899858fbe6&l=76 (source: https://github.com/microsoft/vstest/issues/2952#issuecomment-2234253765): $(sauceUsername)
315+
# inputs:
316+
# script: 'dotnet test $(PathToCommunityToolkitUnitTestCsproj) -c Release --settings ".runsettings" --collect "XPlat code coverage" --logger trx --results-directory $(Agent.TempDirectory)'
317+
318+
# - task: PublishTestResults@2
319+
# condition: eq(variables['Agent.OS'], 'Windows_NT') # Only run this step on Windows
320+
# displayName: 'Publish Test Results'
321+
# inputs:
322+
# testResultsFormat: VSTest
323+
# testResultsFiles: '**/*.trx'
324+
# searchFolder: $(Agent.TempDirectory)
325+
326+
# - task: PublishCodeCoverageResults@1
327+
# condition: eq(variables['Agent.OS'], 'Windows_NT') # Only run this step on Windows
328+
# displayName: 'Publish Code Coverage Results'
329+
# inputs:
330+
# codeCoverageTool: 'Cobertura'
331+
# summaryFileLocation: '$(Agent.TempDirectory)/**/coverage.cobertura.xml'
332+
# failIfCoverageEmpty: true
333333

334334
- task: CmdLine@2
335335
displayName: 'Pack CommunityToolkit.Maui.Core NuGet'

0 commit comments

Comments
 (0)