Code Monkey home page Code Monkey logo

cover-coveralls's People

Contributors

bogdanp avatar florence avatar lexi-lambda avatar rpless avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cover-coveralls's Issues

Release branch behind master

It looks like #11 wasn't quite enough to fix the version issue since the version of this package on the catalog points to the release branch. Would you be willing to merge master into that branch to fix the published version?

Thanks!

Coverage submission failing counts as a test failure

With the current example Travis script, submitting test coverage counts as part of the testing commands. This means if the tests pass but coverage submission fails (for example due to network issues or Coveralls setup issues), the build fails with a test failure state.

I think most would prefer if the coverage process was independent of the testing process, but submitted only when tests pass. This can be done in travis by moving the coverage command from the script: block to an after_success: block (see the Travis Build Lifecycle docs for details):

script:
 - raco test $TRAVIS_BUILD_DIR # run tests. you wrote tests, right?

after_success:
 - raco cover -f coveralls -d $TRAVIS_BUILD_DIR/coverage . # generate coverage information for coveralls

Some people want coverage submission failing to fail the build, but I think most don't and thus this makes for a better default.

Trouble getting started

I've been having trouble getting started & am currently stuck. Here's my full experience:

  1. Downloaded cover via raco. Copied the .travis.yml from this repo into my repo.
  2. Enabled my repo on Travis & Coveralls
  3. Travis-CI build passes. No coverage report generated.
  4. Try raco cover -b -f coveralls . locally. Fails with cover: given unknown coverage output format: "coveralls"
  5. Install cover-coveralls through raco. Try raco cover -b -f coveralls ., fails with No repo token or ci service detected.
  6. Run export COVERALLS_REPO_TOKEN=MY...KEY. Run raco cover -b -f coveralls .. Fails with racket: exec failed (Permission denied; errno=13) coveralls: request to coveralls failed

What's the preferred way to set my COVERALLS_REPO_TOKEN?

Coveralls changed the API

Coveralls seems to have change their API. They now want a "source_digest" (MD5 hash of the file) instead of the file itself.

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.