Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 20, 2026

Enables code coverage in CI and enforces 90% minimum coverage on changed Rust lines. PRs with insufficient coverage of modifications will be blocked.

Changes

  • .github/workflows/ci.yml: Uncommented coverage job with --workspace flag (was previously disabled and scoped to specific packages), added fetch-depth: 0 for diff analysis, set fail_ci_if_error: true

  • .codecov.yml: Configured patch coverage at 90% threshold with informational: false to block PRs, project coverage remains informational

Requirements

Repository needs CODECOV_TOKEN secret configured (obtain from codecov.io after connecting repo).

Coverage Enforcement

Codecov analyzes PR diffs and calculates coverage for changed lines only. If patch coverage < 90%, the status check fails and blocks merge. Test files, benchmarks, examples, and test_data/ are excluded.

Original prompt

This section details on the original issue you should resolve

<issue_title>Enable code coverage in .github/workflows/ci.yml</issue_title>
<issue_description>

# name: code coverage

  1. Enable code coverage in .github/workflows/ci.yml
  2. Block a PR if the Code Coverage of the changed lines (written in Rust) is lower than 90%</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits January 20, 2026 23:33
Co-authored-by: arrayka <1551741+arrayka@users.noreply.github.com>
Co-authored-by: arrayka <1551741+arrayka@users.noreply.github.com>
Co-authored-by: arrayka <1551741+arrayka@users.noreply.github.com>
Copilot AI changed the title [WIP] Enable code coverage in CI workflow Enable code coverage with 90% patch requirement for Rust changes Jan 20, 2026
Copilot AI requested a review from arrayka January 20, 2026 23:38
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.

Enable code coverage in .github/workflows/ci.yml

2 participants