Description
Adding flags to an existing working codecov installation triggers a processing reports error.
Commit SHAs
Repository
CI/CD or Build URL
Uploader
The individual workflows continue to the python and node uploaders as before, I only addded the -F
arguments to add the respective flags.
Codecov Output
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
v3.8.1
==> Detecting CI Provider
GitHub Actions CI Detected
==> Configuration:
Endpoint: https://codecov.io
{
commit: '39181d407eb274bec24d34335ab4d0ba9311b3eb',
branch: 'flags',
package: 'node-v3.8.1'
}
==> Building file structure
==> Generating gcov reports (skip via --disable=gcov)
$ find /home/runner/work/pontoon/pontoon -type f -name '*.gcno' -exec gcov {} +
Failed to run gcov command.
==> Scanning for reports
+ /home/runner/work/pontoon/pontoon/frontend/coverage/lcov.info
+ /home/runner/work/pontoon/pontoon/frontend/coverage/clover.xml
==> Uploading reports
Success!
View report at: https://codecov.io/github/mozilla/pontoon/commit/0f533f02c9239eed33becff841fd8f014eaf50d9
Expected Results
Processed four reports
Actual Results
No reports shown on the PR
Additional Information
I locally verified the yml via
curl --data-binary @.codecov.yml https://codecov.io/validate
Valid!
{
"comment": false,
"flags": {
"backend": {
"paths": [
"(?s:/pontoon/.*\\.py.*)\\Z"
],
"carryforward": true
},
"frontend": {
"paths": [
"^/frontend/.*"
],
"carryforward": true
},
"non-frontend-js": {
"paths": [
"(?s:/tests/.*\\.js.*)\\Z",
"^/pontoon/static/js/.*"
],
"carryforward": true
}
}
}