Skip to content

mcelicalderon/coveralls-ruby-reborn

 
 

Repository files navigation

An up-to-date fork of lemurheavy/coveralls-ruby

Add to your Gemfile:

gem 'coveralls_reborn', '~> 0.24.0', require: false

GitHub Actions

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

About

An up-to-date fork of Coveralls for Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%