spec/spec_helper.rb in danger-spotbugs-0.0.1 vs spec/spec_helper.rb in danger-spotbugs-0.0.2
- old
+ new
@@ -1,6 +1,12 @@
# frozen_string_literal: true
+require 'simplecov'
+SimpleCov.start
+
+require 'codecov'
+SimpleCov.formatter = SimpleCov::Formatter::Codecov
+
require 'pathname'
ROOT = Pathname.new(File.expand_path('..', __dir__))
$LOAD_PATH.unshift("#{ROOT}lib".to_s)
$LOAD_PATH.unshift("#{ROOT}spec".to_s)