From 65b1ed381320e212f8f0fa9937b89c2d172af04c Mon Sep 17 00:00:00 2001 From: megha-paliwal-121 Date: Tue, 13 Aug 2024 22:21:32 +0530 Subject: [PATCH] report --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0ff11a..ea4a4de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,4 +56,15 @@ jobs: dotnet build "ReactCSharpPractice\ReactCSharpPractice.sln" dotnet dotcover test --dcReportType=HTML .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" + - name: Analyze with SonarCloud + uses: sonarsource/sonarcloud-github-action@ # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan + with: + projectBaseDir: my-custom-directory + args: > + -Dsonar.organization=megha-paliwal-121-1 + -Dsonar.python.coverage.reportPaths=coverage.xml + -Dsonar.sources=lib/ + -Dsonar.test.exclusions=tests/** + -Dsonar.tests=tests/ + -Dsonar.verbose=true \ No newline at end of file