Skip to content

Commit 2576110

Browse files
committed
Update azure_pull_request.yml for Azure Pipelines
1 parent 86b4975 commit 2576110

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

azure_pull_request.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pool:
2+
vmImage: ubuntu-latest
23
name: Azure Pipelines
34
demands: java
45

@@ -20,14 +21,14 @@ steps:
2021
sonar.cs.vstest.reportsPaths=$(Agent.TempDirectory)/*.trx
2122
2223
- task: CmdLine@2
24+
displayName: 'Run Build'
2325
inputs:
2426
script: dotnet build --no-incremental
25-
displayName: 'Run Build'
2627

2728
- task: CmdLine@2
28-
inputs:
29-
script: --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]* --no-restore --no-build
3029
displayName: 'Run Tests'
30+
inputs:
31+
script: dotnet test --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]* --no-restore --no-build
3132

3233
- task: SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
3334
displayName: 'Run Code Analysis'

0 commit comments

Comments
 (0)