codecov/codecov-bash

"-f" option ignored by bash script

Closed this issue · 1 comments

I am trying to follow the https://github.com/codecov/example-cpp11-cmake to generate and upload the coverage.info to CodeCov. With lcov, I am able to generate the coverage.info successfully but the command bash <(curl -s https://codecov.io/bash) -f coverage.info doesn't seem to work as intended. The bash is ignoring the -f option and then searching and generating the reports using gcov again instead of just uploading the file mentioned through -f option.
Currently, I have an ugly hack of removing everything else other than the coverage.info before calling the bash command. How to fix the bash to just upload the input file?

I was using the Piping version and did not check the syntax mentioned in Readme.