GithubHelp home page GithubHelp logo

Comments (14)

isaacs avatar isaacs commented on May 20, 2024 5

I strongly recommend removing execSync.

Would you accept a PR that refactored it out?

from codecov-node.

isaacs avatar isaacs commented on May 20, 2024 2

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.

eddiemoore avatar eddiemoore commented on May 20, 2024 1

Version 2 has been released. execsync has been removed. Should fix all issues.

from codecov-node.

meeDamian avatar meeDamian commented on May 20, 2024

+1

Fails to install on travis for node < 5

from codecov-node.

deepsweet avatar deepsweet commented on May 20, 2024

+1 here, this execsync is a pita for CI like Travis or AppVeyor.

from codecov-node.

stevepeak avatar stevepeak commented on May 20, 2024

Do you have suggestions on how to fix this? Maybe remove execsync all-together...

from codecov-node.

StephanBijzitter avatar StephanBijzitter commented on May 20, 2024

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.

stevepeak avatar stevepeak commented on May 20, 2024

@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.

VanDalkvist avatar VanDalkvist commented on May 20, 2024

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.

Crevil avatar Crevil commented on May 20, 2024

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.

antonmedv avatar antonmedv commented on May 20, 2024

Still not working on travis-ci

from codecov-node.

akshayrawat avatar akshayrawat commented on May 20, 2024

Same problem with CircleCI.

from codecov-node.

eddiemoore avatar eddiemoore commented on May 20, 2024

@Elfet @akshayrawat What version of node are you using?

from codecov-node.

akshayrawat avatar akshayrawat commented on May 20, 2024

@eddiemoore node v5.0.0

from codecov-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.