sonar.projectKey=storytold_deckcraft sonar.organization=storytold # githubactions:S7637 asks for every action to be pinned to a commit SHA. A workflow covered by # .github/workflows/actions.lock runs the commit the lockfile records, so its tag refs are pinned # and the lockfile covers the actions those actions use too. Sonar does not read lockfiles yet, so # the rule flags the tag refs anyway: # https://community.sonarsource.com/t/githubactions-s7637-false-positives-for-actions-pinned-through-native-actions-lock/190814 sonar.issue.ignore.multicriteria=gha-lockfile sonar.issue.ignore.multicriteria.gha-lockfile.ruleKey=githubactions:S7637 sonar.issue.ignore.multicriteria.gha-lockfile.resourceKey=.github/workflows/** # Coverage counts only code a test run executes. These are process entrypoints and build scripts: # `cargo llvm-cov` starts the test binaries, never `main`, and cargo runs each build script in its # own process, so their lines can never be covered however much the modules they call are (the # wordcraft learning). Keep the logic they call in measured modules. sonar.coverage.exclusions=packaging/**,apps/deckcraft/src/main.rs,apps/deckcraft/build.rs,crates/ui-egui/build.rs # Setting test roots disables the CLI default; keep all production sources analyzed. sonar.sources=. # These exact fixture runners are tests, not production code. Do not exclude helpers. sonar.tests=packaging sonar.test.inclusions=packaging/nightly-tests.py,packaging/macos/nightly_plist_tests.py,packaging/macos/nightly_sign_tests.py,packaging/windows/nightly-package-tests.ps1,packaging/windows/nightly-signing-tests.ps1,packaging/nightly-release-tests.py sonar.python.coverage.reportPaths=python-coverage.xml