borg icon indicating copy to clipboard operation
borg copied to clipboard

coverage: use pyproject.toml (master)

Open ThomasWaldmann opened this issue 6 months ago • 1 comments

ThomasWaldmann avatar Jun 14 '25 18:06 ThomasWaldmann

Huh?

INTERNALERROR>   File "/home/runner/work/borg/borg/.tox/py311-fuse3/lib/python3.11/site-packages/pytest_cov/engine.py", line 421, in finish
INTERNALERROR>     self.cov.combine()
INTERNALERROR>   File "/home/runner/work/borg/borg/.tox/py311-fuse3/lib/python3.11/site-packages/coverage/control.py", line 864, in combine
INTERNALERROR>     combine_parallel_data(
INTERNALERROR>   File "/home/runner/work/borg/borg/.tox/py311-fuse3/lib/python3.11/site-packages/coverage/data.py", line 186, in combine_parallel_data
INTERNALERROR>     data.update(new_data, map_path=map_path)
INTERNALERROR>   File "/home/runner/work/borg/borg/.tox/py311-fuse3/lib/python3.11/site-packages/coverage/sqldata.py", line 668, in update
INTERNALERROR>     raise DataError("Can't combine statement coverage data with branch data")
INTERNALERROR> coverage.exceptions.DataError: Can't combine statement coverage data with branch data

Solution: I still had --cov-config=.coveragerc (pointing to a non-existent file) in my pytest commandline, my bad!

ThomasWaldmann avatar Jun 16 '25 12:06 ThomasWaldmann

Codecov Report

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

Project coverage is 82.07%. Comparing base (2924fc5) to head (91c8054). Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8923      +/-   ##
==========================================
+ Coverage   82.04%   82.07%   +0.02%     
==========================================
  Files          77       77              
  Lines       13491    13491              
  Branches     1996     1996              
==========================================
+ Hits        11069    11073       +4     
+ Misses       1757     1754       -3     
+ Partials      665      664       -1     

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

codecov[bot] avatar Jun 16 '25 16:06 codecov[bot]