Skip to content

Commit

Permalink
Test to see the PR behavior when the projectBaseDir is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource committed Jun 12, 2024
1 parent 24ec128 commit a24846b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ public static class AccessibilityExtensions
/// </summary>
public static bool IsAccessibleOutsideTheType(this Accessibility accessibility) =>
accessibility == Accessibility.Public || accessibility == Accessibility.Internal || accessibility == Accessibility.ProtectedOrInternal;

private static void UnusedMethod()
{
}
}
}
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ stages:
projectVersion: '$(SONAR_PROJECT_VERSION)'
extraProperties: |
sonar.verbose=true
sonar.projectBaseDir="$(Build.SourcesDirectory)"
sonar.cs.opencover.reportsPaths="$(CoveragePath)/*.xml"
sonar.cs.vstest.reportsPaths="$(UnitTestResultsPath)/*.trx"
sonar.test.exclusions="$(UnitTestExclusionsPattern)"
Expand Down

0 comments on commit a24846b

Please sign in to comment.