Comments (14)
I strongly recommend removing execSync.
Would you accept a PR that refactored it out?
from codecov-node.
I ask because, now that node-tap uses this module as a dependency for sending coverage to codecov, it's causing a lot of test failures on CI systems, and it appears to me to be a very straightforward refactoring that I'd be happy to help with.
The explicit purpose of this module is to be a part of a CI workflow, so using a dep that fails to build reliably on containers seems like a pretty significant problem. If synchronous exec'ing is a must-have, then I'll have to switch back to the codecov.io
module, which appears to be less well supported.
from codecov-node.
Version 2 has been released. execsync has been removed. Should fix all issues.
from codecov-node.
+1
Fails to install on travis for node < 5
from codecov-node.
+1 here, this execsync
is a pita for CI like Travis or AppVeyor.
from codecov-node.
Do you have suggestions on how to fix this? Maybe remove execsync all-together...
from codecov-node.
Looking briefly through the usage of execSync, it does seem like it can easily be refactored by someone who knows how to translate the command-line magic properly. I do believe this would indeed be the cleanest solution.
from codecov-node.
@isaacs Would you accept a PR that refactored it out?
I would. As you can see there are some file-network detection that needs to occur. Would that be possible through the removal of execSync?
from codecov-node.
Can I ask, do you still working on it? I tried to use Codecov for my node project but I couldn't because of this issue. It seems that codecov-node is not under development anymore
from codecov-node.
There sure is not a lot going on here. I created #12 some time ago fixing some of the issues with execSync, but no response.
from codecov-node.
Still not working on travis-ci
from codecov-node.
Same problem with CircleCI.
from codecov-node.
@Elfet @akshayrawat What version of node are you using?
from codecov-node.
@eddiemoore node v5.0.0
from codecov-node.
Related Issues (20)
- v3.8.0: SyntaxError: Unexpected token 'export' HOT 1
- 3.8.0 is a breaking change for those using older node versions HOT 1
- # [Codecov](https://codecov.io/gh/codecov/codecov-node/pull/54?src=pr&el=h1) Report HOT 1
- The nyc example is misleading
- TypeError: Cannot read property 'startsWith' of undefined HOT 13
- Bash Uploader Security Update HOT 2
- Using Codecov npm package doesn't generate a comment on the PR HOT 3
- Affected by codecov.io Bash Uploader hack ? HOT 1
- Different results compared to the bash script HOT 2
- GitHub Check does not fail when Threshold crossed HOT 1
- No longer using codecov
- pip install braintree
- 200005501
- Android 10 / Q / API 29 Baseband Version: HA10_18.534.02.55R BORNEO_NA_CUST Build Number: QZBS30.Q4-43-43-2 Build Fingerprint: motorola/borneo_t/borneo:10/QZBS30.Q4-43-43-2/b59a1:user/release-keys Linux Kernel Version: 4.19.95-perf+ Http User Agent: Dalvik/2.1.0 (Linux; U; Android 10; moto g power (2021) Build/QZBS30.Q4-43-43-2)
- Slack notifications are not working - how to debug why?
- TypeError: Cannot read property 'startsWith' of undefined HOT 18
- Use node-fetch directly instead
- Can --file take multiple arguments?
- Running into multiple issues with codecov HOT 2
- Status of this project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codecov-node.