Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
clement128 committed Aug 21, 2020
1 parent 9bb5ff8 commit 6ae7429
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
# command: 'build'
- task: MSBuild@1
inputs:
solution: '**/*.sln'
solution: "**/*.sln"
# - script: dotnet build ./SimplCommerce.sln
# displayName: "dotnet build"

# - task: RoslynAnalyzers@2
# inputs:
# userProvideBuildInfo: "auto"

- task: RoslynAnalyzers@2
inputs:
userProvideBuildInfo: 'auto'
userProvideBuildInfo: "auto"

- task: DotNetCoreCLI@2
displayName: "run tests"
inputs:
Expand All @@ -43,7 +43,7 @@ jobs:
command: custom
custom: tool
arguments: install --tool-path . dotnet-reportgenerator-globaltool

- script: .\reportgenerator -reports:$(Build.SourcesDirectory)\test\**\coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)\coverlet\reports -reporttypes:"HtmlInline_AzurePipelines;Cobertura"
displayName: Create reports

Expand All @@ -61,7 +61,8 @@ jobs:
inputs:
AllTools: true
BinSkimBreakOn: "Error"
RoslynAnalyzersBreakOn: "Error"
RoslynAnalyzers: true
RoslynAnalyzersBreakOn: 'WarningAbove'
TSLintBreakOn: "Error"
ToolLogsNotFoundAction: "Standard"

Expand Down

0 comments on commit 6ae7429

Please sign in to comment.