mirror of
https://github.com/storytold/craft-wiki.git
synced 2026-11-20 06:21:11 +01:00
* 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)
14 lines
596 B
Properties
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
|