Skip to content

Commit

Permalink
trying to fix CI coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Dainii committed Mar 1, 2024
1 parent fe7ef6a commit b58d67e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ group :development, :test do
gem 'shoulda-matchers'

gem 'simplecov', require: false
gem 'simplecov-cobertura', require: false

gem 'smtp_mock', require: false
end
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.1)
Expand Down Expand Up @@ -491,6 +494,7 @@ DEPENDENCIES
securerandom
shoulda-matchers
simplecov
simplecov-cobertura
smtp_mock
solid_queue
stimulus-rails
Expand Down
2 changes: 2 additions & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
require 'simplecov'

SimpleCov.start 'rails' do
formatter SimpleCov::Formatter::CoberturaFormatter if ENV['CI']

add_filter 'vendor'
end

Expand Down

0 comments on commit b58d67e

Please sign in to comment.