Skip to content

docs: add local coverage workflow#10

Merged
rmorse merged 1 commit into
developfrom
chore/coverage-tooling
Jun 13, 2026
Merged

docs: add local coverage workflow#10
rmorse merged 1 commit into
developfrom
chore/coverage-tooling

Conversation

@rmorse

@rmorse rmorse commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Add docs/COVERAGE.md with the local cargo-llvm-cov workflow.
  • Document the Windows AV-safe target/temp directory setup used for coverage builds.
  • Link coverage guidance from CONTRIBUTING.md and ignore common generated coverage reports.

Local coverage baselines from this branch

  • cargo llvm-cov -p whisper-cpp-plus --json --summary-only -- --test-threads=1: 71.01% lines, 70.92% functions, 67.65% regions.
  • cargo llvm-cov -p whisper-cpp-plus --features async --json --summary-only -- --test-threads=1: 66.99% lines, 62.16% functions, 62.31% regions.

Validation

  • cargo llvm-cov -p whisper-cpp-plus --json --summary-only --output-path D:\cargo-coverage-whisper-cpp-plus-rs\coverage-whisper-cpp-plus.json -- --test-threads=1
  • cargo llvm-cov -p whisper-cpp-plus --features async --json --summary-only --output-path D:\cargo-coverage-whisper-cpp-plus-rs\coverage-whisper-cpp-plus-async.json -- --test-threads=1
  • cargo fmt --all -- --check
  • git diff --check

Coverage remains local-only for now; CI integration can follow once we decide on reporting, badges, and whether to use Codecov/Coveralls or GitHub summaries.

@rmorse rmorse merged commit ff9e55c into develop Jun 13, 2026
2 checks passed
@rmorse rmorse deleted the chore/coverage-tooling branch June 13, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant