radditude / coveralls-multi Goto Github PK
View Code? Open in Web Editor NEWA Coveralls client that supports multi-language repos
Home Page: https://rubygems.org/gems/coveralls-multi
License: MIT License
A Coveralls client that supports multi-language repos
Home Page: https://rubygems.org/gems/coveralls-multi
License: MIT License
excoveralls uses coveralls.json as a config file for options like minimum_coverage
.
When I run coveralls-multi
, it is writing out the coverage report over that config file.
[CoverallsMulti] Debug mode on - writing results to /path/to/repo/coveralls.json
Is there a way to set the output location?
Or maybe Coveralls Multi could use a different filename/location for this (temp) file, instead of stomping on excoveralls config by default?
Thanks for the gem.
Is it possible to write out the merged file without posting to Travis CI? Then it could be picked up by https://github.com/coverallsapp/github-action.
If you have warnings-as-errors
turned on in Elixir, it's fairly common for the compilation step to fail when running Elixir tests. This means that the Elixir coverage output file never gets created, which in turn means that coveralls-multi will throw a long and confusing error when it tries to parse the non-existent file:
$ coveralls-multi
/home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/formatter.rb:26:in `read': No such file or directory @ rb_sysopen - /home/travis/build/revelrylabs/platform/cover/excoveralls.json (Errno::ENOENT)
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/formatter.rb:26:in `parse_json'
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/formatters/excoveralls.rb:10:in `run'
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/runner.rb:32:in `block in format_all_coverage_files'
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/runner.rb:31:in `each'
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/runner.rb:31:in `format_all_coverage_files'
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/runner.rb:19:in `merge'
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/lib/coveralls-multi/runner.rb:12:in `start'
from /home/travis/.rvm/gems/ruby-2.4.1/gems/coveralls-multi-1.4.4/bin/coveralls-multi:6:in `<top (required)>'
from /home/travis/.rvm/gems/ruby-2.4.1/bin/coveralls-multi:23:in `load'
from /home/travis/.rvm/gems/ruby-2.4.1/bin/coveralls-multi:23:in `<main>'
from /home/travis/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
from /home/travis/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
[CoverallsMulti] Could not parse file at cover/excoveralls.json
[CoverallsMulti] There was a problem converting the excoveralls file at cover/excoveralls.json.
[CoverallsMulti] Make sure the file exists.
The command "coveralls-multi" exited with 1.
Fix: coveralls-multi should show a friendlier error when a file is missing. There's no need for the full stack trace since it's not helpful in this case - just a message that communicates that the file is missing and to check for problems earlier in the build process.
nyc
v15.x introduced a breaking change that changed from absolute path to relative path in the lcov.info
report file. This results in coveralls-multi
to throw an error saying that the file/directory can't be found when processing the the lcov.info
file. We'll need to figure out a fix for this since coveralls-multi
is called in the root of the project and doesn't know where the actual javascript files are located.
nyc 14.x
SF:/opt/src/assets/mocha.setup.js
nyc 15.x
SF:mocha.setup.js
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.