mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-11 04:52:13 +00:00
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
This commit is contained in:
1 parent
006e4df225
commit
009a46a6b5
1 file changed
+7
-3
@@ -1,6 +1,10 @@
|
||||
sonar.projectKey=storytold_craft-libs
|
||||
sonar.organization=storytold
|
||||
|
||||
# Browser fault-injection fixtures belong to the test analysis scope.
|
||||
sonar.tests=crates/platform/tests
|
||||
sonar.test.inclusions=crates/platform/tests/**
|
||||
# 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
|
||||
Reference in new issue
Block a user