Invalid path /var/www/html OR /var/www

Description

I have a problem with paths in code coverage, I tried different options in the settings but it won’t work. Could anybody help? More details below
I tried to modify the report to have different paths but it doesn’t work either.

Code coverage files are available at: Improved data loading in the record collector · YetiForceCompany/YetiForceCRM@f4c95ac · GitHub

This problem did not exist when I was using Travis

Uploader log: Improved data loading in the record collector · YetiForceCompany/YetiForceCRM@f4c95ac · GitHub

Commit SHAs

all
a3f96340dd13e9a7e6cb5fcb8c84e56089256216
https://codecov.io/gh/YetiForceCompany/YetiForceCRM/tree/a3f96340dd13e9a7e6cb5fcb8c84e56089256216

Repository

CI/CD or Build URL

github action in my docker

Uploader

bash <(curl -s https://codecov.io/bash) -f /var/www/html/tests/coverages/coverage2.xml -R /var/www/html/

Codecov Output

Expected Results

So that paths in coverage would be without /var/www/html eq. app

Actual Results

Current path /var/www/html/app

Additional Information

I would try doing

echo " ----- bash <(curl -s https://codecov.io/bash) -f /var/www/html/tests/coverages/coverage2.xml -R /var/www/html/  -----"
cd /var/www/html
bash <(curl -s https://codecov.io/bash) -f tests/coverages/coverage2.xml
cd /

or

echo " ----- bash <(curl -s https://codecov.io/bash) -f /var/www/html/tests/coverages/coverage2.xml -R /var/www/html/  -----"
bash <(curl -s https://codecov.io/bash) -f /var/www/html/tests/coverages/coverage2.xml -R /var/www/html/ -X network

Let me know if that works for you.

1 Like

it works !!!
thanks a lot

1 Like