diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f5b8e6..aec8a92 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,7 @@ jobs: cat report.xml - name: Test run: go test -short -coverprofile=coverage.out + continue-on-error: true - uses: sonarsource/sonarqube-scan-action@master env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/sonar-project.properties b/sonar-project.properties index 860d101..1fa4f73 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,4 +3,5 @@ sonar.sources=. sonar.exclusions=,.github/**,.gitignore,CODEOWNERS,CHANGELOG.md,LICENSE.md,README.md,renovate.json,**/*_test.go sonar.tests=. sonar.test.inclusions=**/*_test.go -sonar.go.golangci-lint.reportPaths=report.xml \ No newline at end of file +sonar.go.golangci-lint.reportPaths=report.xml +sonar.go.coverage.reportPaths=coverage.out