Codecov Troubleshooting

Posted on April 26, 2023
Tags: ci, programming

No such file or directory

If you, for instance, download the alpine version of Codecov within a non-alpine linux container such as node:14.20.0-bullseye, then you’ll get

bash: ./codecov: No such file or directory

Double check you are using the correct flavour.

Can’t find project

If you are using a container that does not have git installed, then the default Codecov will not be able to detect the project.

You’ll need to use

./codecov -R $PWD