Description
Pytest-cov coverage report is uploaded successfully, but the message “There was an error processing coverage reports” is displayed in the UI. When dumping report to stdout instead of uploading, it looks like path fixing has not been applied. Manual path fixes have been added to codecov.yml.
Repository
CI/CD
Uploader
Bash uploader
Commit SHAs
171b72c62de5f6dd21c1277f1783ac6c316206af
Codecov YAML
codecov:
require_ci_to_pass: yes
coverage:
precision: 2
round: down
range: "70...100"
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: no
fixes:
- "/Users/danhje/Library/Mobile Documents/com~apple~CloudDocs/Code/pymesis/::"
- "/home/runner/work/pymesis/::"
Codecov Output
[109]
[110]==> GitHub Actions detected.
[111] project root: .
[112] Yaml found at: codecov.yml
[113]==> Running gcov in . (disable via -X gcov)
[114]==> Searching for coverage reports in:
[115] + .
[116] → Found 1 reports
[117]==> Detecting git/mercurial file structure
[118]==> Reading reports
[119] + ./coverage.xml bytes=3289
[120]==> Appending adjustments
[121] Fixing Reports
[122] → No adjustments found
[123]==> Gzipping contents
[124]==> Uploading reports
[125] url: https://codecov.io
[126] query: branch=coverage-reporting&commit=ab04c7170865cca5019469be9e637dc7d5b9e7e7&build=352231656&build_url=http%3A%2F%2Fgithub.com%2Fdanhje%2Fpymesis%2Factions%2Fruns%2F352231656&name=&tag=&slug=danhje%2Fpymesis&service=github-actions&flags=&pr=&job=&cmd_args=
[127]-> Pinging Codecov
[129]-> Uploading to
[131] % Total % Received % Xferd Average Speed Time Time Time Current
[132] Dload Upload Total Spent Left Speed
[133]
[134] 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
[135] 100 732 0 0 100 732 0 3641 --:–:-- --:–:-- --:–:-- 3641
[136] → View reports at Code coverage done right.