Skip to content

Commit

Permalink
Exclude Shim layer code from coverage (#6413)
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource authored Dec 2, 2022
1 parent ffaa72a commit b62663d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ stages:

- powershell: |
cd analyzers
& dotnet test -f $(FrameworkMoniker) -c $(BuildConfiguration) -l trx /p:AltCover=true,AltCoverForce=true,AltCoverVisibleBranches=true,AltCoverAssemblyFilter='Moq|Humanizer|AltCover',AltCoverReport=coverage/coverage.xml
& dotnet test -f $(FrameworkMoniker) -c $(BuildConfiguration) -l trx /p:AltCover=true,AltCoverForce=true,AltCoverVisibleBranches=true,AltCoverAssemblyFilter='Moq|Humanizer|AltCover',AltCoverPathFilter='SonarAnalyzer\.CFG\\ShimLayer|SonarAnalyzer\.ShimLayer\.CodeGeneration',AltCoverReport=coverage/coverage.xml
displayName: '.Net UTs'
- task: PublishPipelineArtifact@1
Expand Down

0 comments on commit b62663d

Please sign in to comment.