Setup coverage in CI#41
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
|
@SocketSecurity ignore-all |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 5 total unresolved issues (including 4 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3e1c0e7. Configure here.
Coverage Report for CI Build 26984790519Warning No base build found for commit Coverage: 94.584%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |

Note
Low Risk
Changes are limited to CI configuration and dev dependencies; no production runtime code paths are modified.
Overview
Adds pytest coverage across the existing test matrix and a follow-up
coveragejob that merges artifacts, publishes to Coveralls, and enforces 100% diff coverage on PRs viadiff-cover.Configuration is introduced in
.coveragerc(branch coverage,chia-poolsource paths including installed site-packages) and.diffcover.toml. Dev dependencies gaincoverage,pytest-cov, anddiff-cover(lockfile updated).The test workflow now runs pytest with
--cov, uploads per-matrix.coverage/ XML, and drops the step that renamedchia-pool/so tests run against the tree as checked out while coverage still maps to the package. The aggregate job combines reports, runs diff coverage against the PR base (failing the check when under 100%), posts a GitHub PR comment andcoverage-difflabel when gaps remain, and uploads HTML/XML report artifacts.Reviewed by Cursor Bugbot for commit 8e97f0c. Bugbot is set up for automated code reviews on this repo. Configure here.