Files
craft-wiki/sonar-project.properties
Dylan M. Taylor d437cd4110 ci: SonarCloud analysis from CI, like the other craft repos (#37)
* ci: SonarCloud analysis from CI instead of automatic analysis

* Publish the worker's node:test coverage to SonarCloud (test:coverage)

* ci: shared SonarCloud workflow back on @main (node coverage merged in craft-common-actions#194)
2026-11-10 22:31:36 -05:00

14 lines
596 B
Properties

sonar.projectKey=storytold_craft-wiki
sonar.organization=storytold
# Sources and tests both start at the root (see lightcraft); the worker's node:test file is a test.
sonar.sources=.
sonar.tests=.
sonar.test.inclusions=**/*.test.mjs
# Written by `npm run test:coverage`, which the SonarCloud workflow runs (node-coverage-script).
sonar.javascript.lcov.reportPaths=coverage/lcov.info
# The Astro site (pages, components, content and its build scripts) has no unit tests; coverage
# measures the worker, which serves the API and auth.
sonar.coverage.exclusions=src/**,scripts/**,astro.config.mjs