Skip to content

ci: tighten Codecov coverage gates#28

Merged
MapleEve merged 7 commits into
mainfrom
chore/codecov-coverage-gates
May 7, 2026
Merged

ci: tighten Codecov coverage gates#28
MapleEve merged 7 commits into
mainfrom
chore/codecov-coverage-gates

Conversation

@MapleEve
Copy link
Copy Markdown
Owner

@MapleEve MapleEve commented May 6, 2026

Summary

  • set Codecov project coverage gate to 90%
  • set Codecov patch coverage gate to 80%
  • set threshold tolerance to 0% for both gates

Validation

  • codecov.yml parsed locally
  • git diff --check passed
  • public release scan passed

Note

If current project coverage is below 90%, the Codecov project check should fail by design until coverage is raised.

Copilot AI review requested due to automatic review settings May 6, 2026 15:58
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

👍 @MapleEve

Thank you for raising your pull request and contributing to voscript.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为 voscript 做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tightens Codecov’s coverage enforcement by raising the required coverage targets and removing any tolerance/threshold slack, increasing the strictness of CI coverage checks.

Changes:

  • Increase project coverage target from 70% to 90%.
  • Increase patch coverage target from 60% to 80%.
  • Set threshold: 0% for both project and patch statuses (no allowed drop below target).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.32%. Comparing base (f61061c) to head (1ce392f).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #28       +/-   ##
===========================================
+ Coverage   77.59%   91.32%   +13.73%     
===========================================
  Files          75       75               
  Lines        2906     2906               
===========================================
+ Hits         2255     2654      +399     
+ Misses        651      252      -399     
Flag Coverage Δ
unit 91.32% <ø> (+13.73%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MapleEve MapleEve merged commit 80b61dd into main May 7, 2026
8 checks passed
@MapleEve MapleEve deleted the chore/codecov-coverage-gates branch May 7, 2026 04:52
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

❤️ Great PR @MapleEve ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution!
项目的成长离不开用户反馈和贡献,感谢您的贡献!

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.

2 participants