Files
craft-libs/sonar-project.properties
T
Dylan M. Taylor 009a46a6b5 sonar: analyse the sources, not only the 3 platform test files (#798)
* sonar: analyse the sources, not only the 3 platform test files

* sonar: every crate's tests are tests, as the coverage job treats them
2026-11-10 22:30:00 -05:00

11 lines
543 B
Properties

sonar.projectKey=storytold_craft-libs
sonar.organization=storytold
# Sources and tests both start at the root, as in lightcraft: sonar.tests alone stops the scanner
# defaulting sources to the repository, which left every analysis with only 3 test files indexed.
# Test files are the ones the coverage job leaves out of lcov (tests/ directories, tests.rs and
# *_tests.rs), which includes the browser fault-injection fixtures in crates/platform/tests.
sonar.sources=.
sonar.tests=.
sonar.test.inclusions=**/tests/**,**/tests.rs,**/*_tests.rs