From a5dd6109e161e7aeae4227c91b7761d0a1a9a7a9 Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Thu, 11 Jan 2024 20:18:47 +0000 Subject: [PATCH] move sonarqube to pkpapp --- .github/workflows/coverage-test.yml | 2 ++ sonar-project.properties => pkpdapp/sonar-project.properties | 3 +++ 2 files changed, 5 insertions(+) rename sonar-project.properties => pkpdapp/sonar-project.properties (83%) diff --git a/.github/workflows/coverage-test.yml b/.github/workflows/coverage-test.yml index bad5ad40..366af0c7 100644 --- a/.github/workflows/coverage-test.yml +++ b/.github/workflows/coverage-test.yml @@ -48,3 +48,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + with: + projectBaseDir: pkpdapp \ No newline at end of file diff --git a/sonar-project.properties b/pkpdapp/sonar-project.properties similarity index 83% rename from sonar-project.properties rename to pkpdapp/sonar-project.properties index 2aa6ec5d..3904ff57 100644 --- a/sonar-project.properties +++ b/pkpdapp/sonar-project.properties @@ -1,6 +1,9 @@ sonar.projectKey=pkpdapp-team_pkpdapp sonar.organization=pkpdapp-team sonar.python.coverage.reportPaths=pkpdapp/coverage.xml +sonar.sources=pkpdapp/ +sonar.tests.exclusions=pkpdapp/tests/** +sonar.tests=pkpdapp/tests/ # This is the name and version displayed in the SonarCloud UI.