Coveralls Reborn for Ruby
![Gem Version](https://camo.githubusercontent.com/e8b10e5ab82fc432679438c570dbc625083397fa8eb6a2863d116a5a224bc216/68747470733a2f2f62616467652e667572792e696f2f72622f636f766572616c6c735f7265626f726e2e737667)
An up-to-date fork of lemurheavy/coveralls-ruby
Add to your Gemfile
:
gem 'coveralls_reborn', '~> 0.27.0', require: false
Psst... you don't need this gem on GitHub Actions.
For a Rails application, just add
gem 'simplecov-lcov', '~> 0.8.0'
to your Gemfile
and
require 'simplecov'
SimpleCov.start 'rails' do
if ENV['CI']
require 'simplecov-lcov'
SimpleCov::Formatter::LcovFormatter.config do |c|
c.report_with_single_file = true
c.single_report_path = 'coverage/lcov.info'
end
formatter SimpleCov::Formatter::LcovFormatter
end
add_filter %w[version.rb initializer.rb]
end
at the top of spec_helper.rb
/ rails_helper.rb
/ test_helper.rb
.
Then follow instructions at Coveralls GitHub Action