Skip to content

Commit

Permalink
Add simplecov to check for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lfittl committed Jan 3, 2024
1 parent b0bb868 commit d3d70d6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pkg
tmp
.DS_Store
coverage/

*.bundle
*.o
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ GEM
specs:
ast (2.4.1)
diff-lcs (1.5.0)
docile (1.4.0)
google-protobuf (3.23.4)
parallel (1.20.1)
parser (2.7.2.0)
Expand Down Expand Up @@ -42,6 +43,12 @@ GEM
rubocop-rspec (1.15.1)
rubocop (>= 0.42.0)
ruby-progressbar (1.10.1)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
unicode-display_width (1.7.0)

PLATFORMS
Expand All @@ -53,6 +60,7 @@ DEPENDENCIES
rspec (~> 3.0)
rubocop (= 0.49.1)
rubocop-rspec (= 1.15.1)
simplecov (~> 0)

BUNDLED WITH
2.3.26
1 change: 1 addition & 0 deletions pg_query.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rubocop', '0.49.1'
s.add_development_dependency 'rubocop-rspec', '1.15.1'
s.add_development_dependency 'simplecov', '~> 0'
s.add_dependency 'google-protobuf', '>= 3.22.3'
end
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
require 'simplecov'

SimpleCov.start do
add_filter '/spec/'
end

require 'pg_query'

0 comments on commit d3d70d6

Please sign in to comment.