Giter VIP home page Giter VIP logo

Comments (7)

bmorrall avatar bmorrall commented on June 8, 2024

Coveralls is included in the Gemfile, which allows it to be built locally.

I'm curious, why are you trying to build a Debian package with the test suite included?

from wisper.

lelutin avatar lelutin commented on June 8, 2024

@bmorrall the debian infrastructure runs test suites automatically when building packages whenever they are present. we like to configure them so they run properly: this way we can more easily see if a change in dependency libraries or ruby version has the effect of breaking functionality in some package.

from wisper.

krisleech avatar krisleech commented on June 8, 2024

🤔 Is it possible to do bundle install as part of the build step for the tests this will install all the development/test dependencies which are in Gemfile?

from wisper.

krisleech avatar krisleech commented on June 8, 2024

There is a second option and that is something like:

begin
  require 'coveralls'
rescue LoadError
  # no-op
else
  Coveralls.wear!
end

from wisper.

lelutin avatar lelutin commented on June 8, 2024

@krisleech so I sought out some feedback from fellow ruby packagers since I'm still very fresh in that set of tech skills. I should've known better, but ain't that always the case for something -- especially for beginners hehe. coveralls is not required at all for the purpose of running the test suite, so I could've patched it out of spec_helper.rb.

the patch you suggested in your last message seems to answer perfectly to that need, so if you and other contributors are comfortable merging that in, it would solve the issue for me. however it might mean that some developers won't update coverage information systematically since it won't be compulsory to run coveralls anymore. if some ppl are not super comfortable, I can patch it at packaging level.

from wisper.

geor-g avatar geor-g commented on June 8, 2024

@lelutin Personally, I'm using env vars to be able to "opt-out" in such situations if packaging stuff for Debian.

from wisper.

krisleech avatar krisleech commented on June 8, 2024

I'm happy with the rescue no-op solution if someone wants to submit a PR.

from wisper.

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.