Please check the troubleshooting guide before creating a ticket.
All fields below are required.
Description
As per the documentation, directory
is the directory to search for coverage reports, and files
is the comma-separated paths to the coverage report(s).
If directory
is ./tests/coverage/
, and file
is coverage.xml
, I’m seeing a message - file not found at coverage.xml
.
Changing the value of file
to ./tests/coverage/coverage.xml
works.
But the first case should also work since I’m specifying the directory which contains the report and the name of the report.
Commit SHAs
8ebdb7c6d93b002deb327230def2087705fb8e02
Repository
https://github.com/saurabmish/Data-Structures-and-Algorithms
CI/CD or Build URL
https://github.com/saurabmish/Data-Structures-and-Algorithms/runs/1752311045?check_suite_focus=true
Section : “Publish Coverage Report”
Uploader
GitHub Actions
Codecov Output
Expected Results
The expected behavior should be navigating to the path specified by directory
and then looking for the file(s) speified by files
.
So the following should work:
files: coverage.xml
directory: ./tests/coverage/
Actual Results
Generated XML file needs full path - files
: ./tests/coverage/coverage.xml
.
Additional Information
As per the documentation, directory
is the directory to search for coverage reports, and files
is the comma-separated paths to the coverage report(s).