From 67de73f67ea4f7afeb68829fb510065ed8d41159 Mon Sep 17 00:00:00 2001 From: a14m Date: Mon, 14 Dec 2020 14:17:39 +0100 Subject: Add codecov integration --- CLI/ruby/spec/spec_helper.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CLI/ruby/spec/spec_helper.rb') 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" -- cgit v1.2.3