Skip to content

Commit b73b492

Browse files
dblockCopilot
andcommitted
Lock SimpleCov to < 1.1.0 to fix coveralls CI failure
SimpleCov 1.1.0 changed created_at from an integer to a float timestamp, which coveralls-ruby-adapter/coverage-reporter fails to parse (JSON::SerializableError: Couldn't parse (Int64 | Nil) from a float). This breaks the coverage workflow on every push. See coverallsapp/github-action#269 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 51fb5c1 commit b73b492

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ group :development, :test do
1616
gem 'rubocop', '~> 1.89.0', require: false
1717
gem 'rubocop-minitest', require: false
1818
gem 'rubocop-rake', require: false
19-
gem 'simplecov', require: false
19+
# TODO: remove version constraint once coverallsapp/coverage-reporter supports float timestamps
20+
# https://github.com/coverallsapp/github-action/issues/269
21+
gem 'simplecov', '< 1.1.0', require: false
2022
gem 'simplecov-lcov', require: false
2123
end
2224

0 commit comments

Comments
 (0)