rpless / cover-coveralls Goto Github PK
View Code? Open in Web Editor NEWCoveralls support for Cover
License: MIT License
Coveralls support for Cover
License: MIT License
I think we need to capture current-error-port
as well as the current-output-port
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!
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.
I've been having trouble getting started & am currently stuck. Here's my full experience:
cover
via raco
. Copied the .travis.yml
from this repo into my repo.raco cover -b -f coveralls .
locally. Fails with cover: given unknown coverage output format: "coveralls"
cover-coveralls
through raco
. Try raco cover -b -f coveralls .
, fails with No repo token or ci service detected
.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
?
Transferring this issue from florence/cover#17.
Coveralls seems to have change their API. They now want a "source_digest" (MD5 hash of the file) instead of the file itself.
E.g. racket-collections
This seems to be because of this change from earlier this year. See here for a possible explanation.
Probably the right fix is upstream on cover-lib, but creating an issue here for additional context and possibly independent resolution.
Transferred from florence/cover#57.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.