You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently facing an issue where codecov cannot find the Python coverage program on the PATH, and therefore does not process the coverage. I believe this is because of how index.js here manages the environ.
Based on reading the exec package's source, it's clear that this is the entireenv provided, it is not merged with process.env.
I think the best way to handle this would be to merge these vars with process.env. At the very least, PATH needs to be inherited so tools can be found, otherwise you simply get the system default PATH.
The text was updated successfully, but these errors were encountered:
I'm currently facing an issue where
codecov
cannot find the Pythoncoverage
program on thePATH
, and therefore does not process thecoverage
. I believe this is because of howindex.js
here manages theenviron
.Specifically, it fully overrides it:
codecov-action/index.js
Lines 52 to 59 in a3a6bec
Based on reading the
exec
package's source, it's clear that this is the entireenv
provided, it is not merged withprocess.env
.I think the best way to handle this would be to merge these vars with
process.env
. At the very least,PATH
needs to be inherited so tools can be found, otherwise you simply get the system defaultPATH
.The text was updated successfully, but these errors were encountered: