diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 64fb9ee..f71f3a5 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -67,3 +67,5 @@ jobs: timeout-minutes: 5 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + with: + projectBaseDir: Backend diff --git a/Backend/sonar-project.properties b/Backend/sonar-project.properties index d8a346e..e70854c 100644 --- a/Backend/sonar-project.properties +++ b/Backend/sonar-project.properties @@ -1,9 +1,8 @@ sonar.projectKey=arbeitszeitmessung -sonar.projectBaseDir=Backend sonar.sources=. sonar.exclusions=**/*_test.go, **/*_templ.go sonar.tests=. sonar.test.inclusions=**/*_test.go -sonar.go.tests.reportPaths=Backend/.test/report.json -sonar.go.coverage.reportPaths=Backend/.test/coverage.out +sonar.go.tests.reportPaths=.test/report.json +sonar.go.coverage.reportPaths=.test/coverage.out