Skip to content

Commit 923fcd3

Browse files
committed
force 100% coverage
1 parent 1c163d5 commit 923fcd3

File tree

4 files changed

+6
-19
lines changed

4 files changed

+6
-19
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,3 @@ jobs:
2525
bundler-cache: true
2626

2727
- run: bundle exec rake
28-
29-
- uses: coverallsapp/github-action@v2
30-
with:
31-
github-token: ${{ secrets.GITHUB_TOKEN }}

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ gem "rake"
1212
gem "rspec"
1313
gem "rubocop-config-umbrellio"
1414
gem "simplecov"
15-
gem "simplecov-lcov"

Gemfile.lock

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,10 @@ GEM
111111
simplecov-html (~> 0.11)
112112
simplecov_json_formatter (~> 0.1)
113113
simplecov-html (0.13.1)
114-
simplecov-lcov (0.8.0)
115114
simplecov_json_formatter (0.1.4)
116115
tzinfo (2.0.6)
117116
concurrent-ruby (~> 1.0)
118-
unicode-display_width (2.5.0)
117+
unicode-display_width (2.6.0)
119118

120119
PLATFORMS
121120
ruby
@@ -131,7 +130,6 @@ DEPENDENCIES
131130
rspec
132131
rubocop-config-umbrellio
133132
simplecov
134-
simplecov-lcov
135133

136134
BUNDLED WITH
137135
2.4.22

spec/spec_helper.rb

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
# frozen_string_literal: true
22

33
require "simplecov"
4-
require "simplecov-lcov"
54

6-
SimpleCov::Formatter::LcovFormatter.config do |config|
7-
config.report_with_single_file = true
8-
config.single_report_path = "coverage/lcov.info"
9-
end
10-
11-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
12-
SimpleCov::Formatter::HTMLFormatter,
13-
SimpleCov::Formatter::LcovFormatter,
14-
])
5+
SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
156

16-
SimpleCov.start
7+
SimpleCov.start do
8+
enable_coverage(:branch)
9+
minimum_coverage(line: 100, branch: 100)
10+
end
1711

1812
require "memery"
1913
require "active_support/concern"

0 commit comments

Comments
 (0)