diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8789e8..01941e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,11 +49,11 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} with: + projectBaseDir: mufs args: > -Dsonar.projectVersion=${{ env.project_version }} -Dsonar.python.coverage.reportPaths=.report/coverage.xml -Dsonar.python.xunit.reportPath=.report/TEST* - -Dsonar.sources=. # If you wish to fail your job when the Quality Gate is red, uncomment the # following lines. This would typically be used to fail a deployment. - name: Quality Gate diff --git a/sonar-project.properties b/sonar-project.properties index 8dc701d..4a5c7c2 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,4 +1,4 @@ sonar.projectKey=mufs sonar.sourceEncoding=UTF-8 -sonar.python.version="3.8, 3.9, 3.10" -sonar.sources=. \ No newline at end of file +sonar.sources=. +sonar.python.version=3.8, 3.9, 3.10 \ No newline at end of file