Skip to content

Commit

Permalink
Merge pull request #944 from guard/add-coverage
Browse files Browse the repository at this point in the history
Add Codecov
  • Loading branch information
rymai authored Nov 1, 2019
2 parents dfec476 + 2be521f commit 5f5f981
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ group :test do
gem "aruba", "~> 0.14", require: false
gem "notiffany", ">= 0.0.6", require: false
gem "rspec", ">= 3.0.0", require: false
gem "simplecov", "~> 0.17", require: false
gem "codecov", require: false
end

# Needed for Travis
Expand Down
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
require "fileutils"

require "simplecov"
SimpleCov.start

require "codecov"
SimpleCov.formatter = SimpleCov::Formatter::Codecov

SimpleCov.start do
add_filter "/spec"
end
Expand Down

0 comments on commit 5f5f981

Please sign in to comment.