From a1aae9dc565191f68e09bbe8376e5905b5460ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Tue, 7 Oct 2025 15:08:40 +0200 Subject: [PATCH] working on sonarqube --- .gitea/workflows/test.yaml | 4 +++- sonar-project.properties | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index d5313e5..ed85d78 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -23,7 +23,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 - name: Setup go uses: actions/setup-go@v5 with: diff --git a/sonar-project.properties b/sonar-project.properties index dbf4089..9ef4c3e 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -4,5 +4,5 @@ sonar.exclusions=**/*_test.go sonar.tests=. sonar.test.inclusions=**/*_test.go -sonar.go.tests.reportPaths=Backned/.test/report.json -sonar.go.coverage.reportPaths=Backned/.test/coverage.out +sonar.go.tests.reportPaths=Backend/.test/report.json +sonar.go.coverage.reportPaths=Backend/.test/coverage.out