We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
Accept files which follow the format description: https://github.com/linux-test-project/lcov/blob/07a1127c2b4390abf4a516e9763fb28a956a9ce4/man/geninfo.1#L989
Upload file https://github.com/gcovr/gcovr/blob/7.2/gcovr/tests/nested/reference/gcc-5/coverage.lcov
The text was updated successfully, but these errors were encountered:
Internal ticket created : TCE-1089
Sorry, something went wrong.
Skip upload of LCOV file to Codacy
ab2d6ff
The files can't be read by Codacy, see codacy/codacy-coverage-reporter#510 (comment).
No branches or pull requests
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:
Accept files which follow the format description: https://github.com/linux-test-project/lcov/blob/07a1127c2b4390abf4a516e9763fb28a956a9ce4/man/geninfo.1#L989
Reproducible Test Case
Upload file https://github.com/gcovr/gcovr/blob/7.2/gcovr/tests/nested/reference/gcc-5/coverage.lcov
The text was updated successfully, but these errors were encountered: