Skip to content

fix(coverage): only run coverage for auditwheel inside containers#656

Merged
mayeut merged 1 commit intopypa:mainfrom
mayeut:coverage
Dec 27, 2025
Merged

fix(coverage): only run coverage for auditwheel inside containers#656
mayeut merged 1 commit intopypa:mainfrom
mayeut:coverage

Conversation

@mayeut
Copy link
Member

@mayeut mayeut commented Dec 27, 2025

No description provided.

Copy link
Contributor

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 refactors coverage collection for auditwheel integration tests to be more selective. Instead of enabling coverage for all commands executed in containers via a fixture-level environment variable, coverage is now only enabled for specific auditwheel commands (show and repair) that are actually being tested.

  • Coverage is now opt-in per command via a coverage parameter
  • The QEMU check for disabling coverage is moved from the fixture to the execution layer
  • Reduces overhead by avoiding coverage collection for non-auditwheel commands

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

@codecov
Copy link

codecov bot commented Dec 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.09%. Comparing base (c0f6f51) to head (5d8e4d7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #656   +/-   ##
=======================================
  Coverage   95.09%   95.09%           
=======================================
  Files          22       22           
  Lines        1814     1814           
  Branches      340      340           
=======================================
  Hits         1725     1725           
  Misses         49       49           
  Partials       40       40           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mayeut mayeut merged commit 042fc48 into pypa:main Dec 27, 2025
22 checks passed
@mayeut mayeut deleted the coverage branch December 27, 2025 16:40
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