Skip to content

Commit

Permalink
Configure Coverall GitHub action
Browse files Browse the repository at this point in the history
With the old Coveralls gem removed, we can configure simplecov for
Coveralls and add the step to the GitHub action.
  • Loading branch information
mec committed Dec 1, 2023
1 parent b1ecfc0 commit 0158064
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ jobs:
gem install bundler
bundle install --jobs 4 --retry 3 --path ./vendor/bundle
bundle exec rake
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
fail-on-error: false
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require 'simplecov'
require 'simplecov-lcov'
SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start

Expand Down

0 comments on commit 0158064

Please sign in to comment.