0.06
A long-lived project that still receives updates
A Ruby implementation of the Coveralls API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Development

~> 2.0

Runtime

~> 0.22.0
~> 1.2
~> 1.32
 Project Readme

Coveralls Reborn for Ruby Coverage Status Build Status Gem Version

Read the docs →

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

Add to your Gemfile:

gem 'coveralls_reborn', '~> 0.27.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