Please search for similar issues before creating a ticket. — Done.
All fields below are required.
Description
Hello.
I see a deprecation warning for Codecov Ruby uploader.
I want to use a new (beta) uploader, but I don’t know how to provide to it results from Ruby SimpleCov.
Commit SHAs
Commits of what?…
Repository
CI/CD or Build URL
Uploader
Described above.
Codecov Output
Without --dir
argument (default):
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}
[2021-10-04T11:15:27.535Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.1.3
[2021-10-04T11:15:27.541Z] ['info'] => Project root located at: /tmp/cirrus-ci-build
[2021-10-04T11:15:27.542Z] ['info'] -> Token found by arguments
[2021-10-04T11:15:27.547Z] ['info'] Searching for coverage files...
[2021-10-04T11:15:27.557Z] ['error'] There was an error running the uploader: No coverage files located, please try use `-f`, or change the project root with `-R`
With --dir
argument:
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN} --dir=coverage/
[2021-10-04T11:19:56.810Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.1.3
[2021-10-04T11:19:56.816Z] ['info'] => Project root located at: /tmp/cirrus-ci-build
[2021-10-04T11:19:56.816Z] ['info'] -> Token found by arguments
[2021-10-04T11:19:56.821Z] ['info'] Searching for coverage files...
[2021-10-04T11:19:56.830Z] ['error'] There was an error running the uploader: No coverage files located, please try use `-f`, or change the project root with `-R`
Expected Results
Please provide what you expect to have happened (e.g. a file that has missing coverage on a particular line).
Actual Results
The output above.
Additional Information
SimpleCov supports different formats as I know, but I don’t know which is expected by a new uploader.