summaryrefslogtreecommitdiffstats
path: root/CLI/ruby/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'CLI/ruby/spec/spec_helper.rb')
-rw-r--r--CLI/ruby/spec/spec_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/CLI/ruby/spec/spec_helper.rb b/CLI/ruby/spec/spec_helper.rb
index 890ca34..0c453de 100644
--- a/CLI/ruby/spec/spec_helper.rb
+++ b/CLI/ruby/spec/spec_helper.rb
@@ -1,5 +1,11 @@
# frozen_string_literal: true
+require "simplecov"
+SimpleCov.start
+
+require "codecov"
+SimpleCov.formatter = SimpleCov::Formatter::Codecov if ENV["CODECOV_TOKEN"]
+
require "bundler/setup"
require "game_of_life"