Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Execution broken with AppVeyor starting from codecov-exe v1.12.0 #146

Closed
jgonzalezdr opened this issue Nov 6, 2020 · 4 comments
Closed
Labels
Milestone

Comments

@jgonzalezdr
Copy link

With AppVeyor (at least, I don't know if with other CIs) the execution is broken, failing with the error "codecov : [FTL] The system cannot find the file specified.".

You can check a failing build log with v1.12.0 here and with v1.12.3 here.

With exactly the same configuration, but running v1.11.2, it works properly (build log here).

@AdmiringWorm
Copy link
Collaborator

hmm, could be a problem with how the VCS providers are resolved (it changed to use reflection in 1.12.0).

Could I ask you to try with the .NET Core edition of codecov-exe? (.NET Core is available on appveyor, and can be installed by running dotnet tool install -g codecov.tool).

My guess is that when publishing the .NET edition used in the chocolatey package, some required classes are removed since they are only used through reflection.

@AdmiringWorm
Copy link
Collaborator

ignore my previous comment.
It seems the problem is something else, and I need to look a bit deeper into why it happens.
It looks like git somehow can not be found on the system, which is incorrect (even if it was, there should not be an exception 😢).

@AdmiringWorm AdmiringWorm added this to the vNext milestone Nov 10, 2020
AdmiringWorm added a commit that referenced this issue Feb 15, 2021
When the current repository is a git repository,
we should output a warning when there is no available
git executable available on the PATH environment variable
that we can use. This is not something that should stop
the execution of codecov-exe, as there are fallbacks
that can be used on CI systems.

fixes #146
@AdmiringWorm
Copy link
Collaborator

A fix for this will be available in the next version of codecov-exe (I am sorry about the delay).

@github-actions
Copy link

🎉 This issue has been resolved in version 1.13.0 🎉

The release is available on:

Your friendly GitReleaseManager bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants