From 659fb8004916a0d6883020daf025d4b271f2bdec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Tue, 7 Oct 2025 16:14:09 +0200 Subject: [PATCH] updated test.yml --- .gitea/workflows/test.yaml | 2 ++ Backend/sonar-project.properties | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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