Open Spacetown opened 2 months ago
We added Codacy to GCOVR CI as a future replacement for Codecov.
Uploading LCOV files is failing without a meaningful error message:
2024-08-19 20:45:29.113Z info [ReportRules] Parsing coverage data from: /home/runner/work/gcovr/gcovr/./tests/nested/reference/clang-13/coverage.lcov ... - (ReportRules.scala:41) 2024-08-19 20:45:29.114Z info [ReportRules] Parsing coverage data from: /home/runner/work/gcovr/gcovr/./tests/nested/reference/gcc-5/coverage.lcov ... - (ReportRules.scala:41) 2024-08-19 20:45:29.115Z info [ReportRules] Parsing coverage data from: /home/runner/work/gcovr/gcovr/./tests/nested/reference/gcc-8/coverage.lcov ... - (ReportRules.scala:41) 2024-08-19 20:45:29.115Z info [ReportRules] Parsing coverage data from: /home/runner/work/gcovr/gcovr/./tests/nested/reference/gcc-14/coverage.lcov ... - (ReportRules.scala:41) 2024-08-19 20:45:29.116Z info [ReportRules] Parsing coverage data from: /home/runner/work/gcovr/gcovr/./tests/nested/reference/clang-10/coverage.lcov ... - (ReportRules.scala:41) 2024-08-19 20:45:29.116Z warn [ReportRules] Could not parse report, unrecognized report format (tried: LCOV) - (ReportRules.scala:59) 2024-08-19 20:45:29.116Z warn [ReportRules] Could not parse report, unrecognized report format (tried: LCOV) - (ReportRules.scala:59) 2024-08-19 20:45:29.116Z warn [ReportRules] Could not parse report, unrecognized report format (tried: LCOV) - (ReportRules.scala:59) 2024-08-19 20:45:29.116Z warn [ReportRules] Could not parse report, unrecognized report format (tried: LCOV) - (ReportRules.scala:59) 2024-08-19 20:45:29.116Z warn [ReportRules] Could not parse report, unrecognized report format (tried: LCOV) - (ReportRules.scala:59)
GitHup pipeline running on Ubuntu 22.04: https://github.com/gcovr/gcovr/actions/workflows/upload_coverage.yml
A error message which part of the file isn't accepted.
The error message doesn't contain the problem:
warn [ReportRules] Could not parse report, unrecognized report format (tried: LCOV) - (ReportRules.scala:59)
Upload file https://github.com/gcovr/gcovr/blob/7.2/gcovr/tests/nested/reference/gcc-5/coverage.lcov
Internal ticket created : TCE-1089
Description
We added Codacy to GCOVR CI as a future replacement for Codecov.
Uploading LCOV files is failing without a meaningful error message:
Environment
GitHup pipeline running on Ubuntu 22.04: https://github.com/gcovr/gcovr/actions/workflows/upload_coverage.yml
Expected Behavior
A error message which part of the file isn't accepted.
Actual Behavior
The error message doesn't contain the problem:
Reproducible Test Case
Upload file https://github.com/gcovr/gcovr/blob/7.2/gcovr/tests/nested/reference/gcc-5/coverage.lcov