You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coveralls encountered an exception:
NoMethodError
undefined method `coverage' for #<SimpleCov::SourceFile:0x0000559805623520>
Did you mean? coverage_data
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:50:in `block in format'
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/2.6.0/forwardable.rb:230:in `each'
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/2.6.0/forwardable.rb:230:in `each'
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:40:in `format'
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/simplecov-0.18.5/lib/simplecov/formatter/multi_formatter.rb:10:in `block in format'
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/simplecov-0.18.5/lib/simplecov/formatter/multi_formatter.rb:8:in `map'
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/simplecov-0.18.5/lib/simplecov/formatter/multi_formatter.rb:8:in `format'
The cause of the error seems that the coveralls gem does support the latest simplecov gem.
The simplecov gem had the API change with the v0.18.0.
See also simplecov-ruby/simplecov@6e7a9ab.
I noticed that the
coveralls
gem is not working on CI. See below:https://github.com/octokit/octokit.rb/runs/583312202?check_suite_focus=true#step:6:26
The cause of the error seems that the
coveralls
gem does support the latestsimplecov
gem.The
simplecov
gem had the API change with the v0.18.0.See also simplecov-ruby/simplecov@6e7a9ab.
In addition, according to lemurheavy/coveralls-ruby#130, the
coveralls
gem seems unmaintained.The text was updated successfully, but these errors were encountered: