Skip to content

Commit 50e9552

Browse files
author
“jagnd1”
committed
fix coverage format: use python-specific instead of generic
- sonar.python.coverage.reportPaths instead of sonar.coverageReportPaths - generic format parser only handles version 1, python format handles 7.10.6
1 parent 8aa1649 commit 50e9552

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sonar-project.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ sonar.tests=testing
1616
# exclude test files and non-source directories from analysis
1717
sonar.exclusions=**/test_*.py,**/tests/**,**/*_test.py,**/test.py,testing/**,deployment/**,.github/**,**/.venv/**,**/htmlcov/**,**/.pytest_cache/**,**/__pycache__/**
1818

19-
# test execution and coverage (use generic format for compatibility)
20-
sonar.coverageReportPaths=testing/coverage.xml
19+
# test execution and coverage (use python-specific format)
20+
sonar.python.coverage.reportPaths=testing/coverage.xml
2121
sonar.python.xunit.reportPath=testing/test-results.xml
2222
# enable maximum verbosity for diagnostic
2323
sonar.verbose=true

0 commit comments

Comments
 (0)