Closed apurvakhatri closed 1 year ago
Patch coverage: 100.00
% and project coverage change: +6.48
:tada:
Comparison is base (
ae12d50
) 85.18% compared to head (42c545c
) 91.66%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Hummm, seems that some of the parts that were added are having some problem (for some reason only on Alpine):
/venv/bin/python -m coverage lcov -i -o pycoverage.lcov
Wrote LCOV report to pycoverage.lcov
genhtml *coverage.lcov --branch-coverage --output-directory memray-coverage
Found 61 entries.
Found common filename prefix "/__w/memray/memray"
Generating output.
Processing file src/memray/reporters/summary.py
lines=19 hit=19 branches=3 hit=3
Processing file src/memray/commands/summary.py
lines=35 hit=35 branches=8 hit=8
Processing file tests/integration/test_processes.py
genhtml: ERROR: line 0 of tests/integration/test_processes.py has branchcov but no linecov data
(use "genhtml --ignore-errors category ..." to bypass this error)
make: *** [Makefile:70: pycoverage] Error 1
Issue number of the reported bug or feature request: #351
Describe your changes The changes are - Python coverage report is generated & published to Codecov. Further, The report is analyzed & pragma no cover is added to increase test coverage.
Testing performed I tested on a personal fork of the project using appropriate secrets for personal CodeCov.
Additional context In order to publish python coverage to codecov build.yml had to be modified. During build the python coverage had to be performed using the development dependencies on ubuntu-latest & alpine linux container (Line 67 & 101 of build.yml respectively). This part of the build was failing as the systems were lacing lcov. Therefore lcov was added using apt-get & apk add for ubuntu & alpine respectively. Further, the publishing of code coverage report was resolved, but still 1 test is failing as the genhtml is unable to ignore the linecov error on alpine linux whereas it ignores it on ubuntu-latest. Any help on how to resolve this 1 check would be greatly appreciated. Thank you!