Skip to content

Setup coverage in CI#41

Merged
Quexington merged 9 commits into
mainfrom
quex.coverage
Jun 8, 2026
Merged

Setup coverage in CI#41
Quexington merged 9 commits into
mainfrom
quex.coverage

Conversation

@Quexington

@Quexington Quexington commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

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 coverage job that merges artifacts, publishes to Coveralls, and enforces 100% diff coverage on PRs via diff-cover.

Configuration is introduced in .coveragerc (branch coverage, chia-pool source paths including installed site-packages) and .diffcover.toml. Dev dependencies gain coverage, pytest-cov, and diff-cover (lockfile updated).

The test workflow now runs pytest with --cov, uploads per-matrix .coverage / XML, and drops the step that renamed chia-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 and coverage-diff label 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.

@socket-security

socket-security Bot commented Jun 4, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcoverage@​7.14.195100100100100
Updatedclick@​8.4.0 ⏵ 8.4.196 +1100100100100
Addeddiff-cover@​10.3.099100100100100
Updatedpytest-cov@​6.0.0 ⏵ 7.1.0100 +1100100100100
Updatedruff@​0.15.14 ⏵ 0.15.16100100100100100

View full report

@socket-security

socket-security Bot commented Jun 4, 2026

Copy link
Copy Markdown

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:

  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • chardet@7.4.3
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • coverage@7.14.1
  • diff-cover@10.3.0
  • diff-cover@10.3.0
  • jinja2@3.1.6
  • jinja2@3.1.6
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • markupsafe@3.0.3
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • ruff@0.15.16
  • click@8.4.1
  • click@8.4.1
  • pytest-cov@7.1.0
  • pytest-cov@7.1.0

View full report

@Quexington

Copy link
Copy Markdown
Contributor Author

@SocketSecurity ignore-all

Comment thread .coveragerc
Comment thread .github/workflows/test.yml
Comment thread .github/workflows/test.yml
Comment thread .github/workflows/test.yml
Comment thread .github/workflows/test.yml

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 5 total unresolved issues (including 4 from previous reviews).

Fix All in Cursor

❌ 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.

Comment thread .github/workflows/test.yml Outdated
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 26984790519

Warning

No base build found for commit 379949e on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 94.584%

Details

  • Patch coverage: No coverable lines changed in this PR.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 1663
Covered Lines: 1571
Line Coverage: 94.47%
Relevant Branches: 91
Covered Branches: 88
Branch Coverage: 96.7%
Branches in Coverage %: Yes
Coverage Strength: 1.89 hits per line

💛 - Coveralls

@Quexington Quexington changed the title Attempt to setup coverage in CI Setup coverage in CI Jun 8, 2026
@Quexington Quexington merged commit c6b1a81 into main Jun 8, 2026
44 checks passed
@Quexington Quexington deleted the quex.coverage branch June 8, 2026 22:34
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.

3 participants