sonar-project.properties
21 lines · 939 bytes
1# SonarCloud analysis. Only SONAR_TOKEN is a secret; it is a gitbay build
2# secret (`repo secret set krz/gitbay SONAR_TOKEN`, value on stdin) and
3# never appears here. Everything below is public configuration and is
4# checked in so a scan is reproducible from the repository alone.
5sonar.organization=krz
6sonar.projectKey=krz_gitbay
7sonar.projectName=gitbay
8
9sonar.sources=.
10sonar.tests=.
11sonar.test.inclusions=**/*_test.go
12
13# dist/ is release output, testdata is fixtures meant to be malformed, and
14# the fonts are third-party binaries.
15sonar.exclusions=dist/**,**/testdata/**,internal/web/static/fonts/**
16
17# No sonar.go.coverage.reportPaths yet. Most of this repository's coverage
18# comes from the e2e suite, and re-running that under -coverprofile would
19# double the CI time; unit-only coverage would report misleadingly low
20# numbers for packages e2e exercises heavily. Reporting none is more
21# honest than reporting the wrong number.