quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.28k stars 1.02k forks source link

Exclude conftest.py files from enforcing changed-code coverage #6738

Closed pavoljuhas closed 1 month ago

pavoljuhas commented 1 month ago

Avoid spurious CI failure due to missing coverage of changed conftest.py lines. conftest.py configures the pytest session. It is tricky and not worthwhile to ensure it is test-covered.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.83%. Comparing base (484df6f) to head (325a88b). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6738 +/- ## ========================================== - Coverage 97.83% 97.83% -0.01% ========================================== Files 1077 1077 Lines 92524 92524 ========================================== - Hits 90523 90521 -2 - Misses 2001 2003 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.