sonar: fix paths (#93)

This commit is contained in:
Vic Kerr
2024-01-26 15:00:23 +00:00
committed by GitHub
parent f49ddf9eb2
commit 0033e2954e

View File

@@ -1,10 +1,17 @@
sonar.projectKey=ionos-cloud_cluster-api-provider-proxmox
sonar.organization=ionos-cloud
# Source and test files are in the same directories
sonar.sources=.
sonar.exclusions=**/*_test.go,**/mock_*.go,**/zz_generated*.go,templates/crs/cni/**
sonar.tests=.
sonar.tests.inclusions=**/*_test.go
sonar.tests.exclusions=**/mock_*.go,**/envtest*.go
# Include test files in test scope
sonar.test.inclusions=test/**,**/*_test.go
# Exclude autogenerated test files from test scope
sonar.test.exclusions=**/mock_*.go
# Exclude test and autogenerated files from source scope
sonar.exclusions=test/**,**/*_test.go,**/mock_*.go,**/zz_generated*.go,templates/crs/cni/**
sonar.go.coverage.reportPaths=cover.out