From b920410af6ef65c0f4ebbaf9d7295fef15e609ea Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sun, 17 Oct 2021 22:03:46 -0700 Subject: [PATCH] Install ci_reporter gem for Jenkins --- Gemfile | 1 + Gemfile.lock | 6 ++++++ Rakefile | 9 +++++++++ 3 files changed, 16 insertions(+) diff --git a/Gemfile b/Gemfile index a8c39314..b442ed8d 100644 --- a/Gemfile +++ b/Gemfile @@ -22,6 +22,7 @@ gem 'simple_form' gem 'dotenv-rails' gem 'react-rails' # gem 'react-rails-hot-loader' +gem 'ci_reporter_rspec' group :development do gem 'parallel_tests', group: :development gem 'better_errors' diff --git a/Gemfile.lock b/Gemfile.lock index 6135d5d2..0be327a8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -101,6 +101,11 @@ GEM regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) childprocess (3.0.0) + ci_reporter (2.0.0) + builder (>= 2.1.2) + ci_reporter_rspec (1.0.0) + ci_reporter (~> 2.0) + rspec (>= 2.14, < 4) coderay (1.1.3) coffee-rails (5.0.0) coffee-script (>= 2.2.0) @@ -423,6 +428,7 @@ DEPENDENCIES capistrano-rbenv capistrano3-puma capybara + ci_reporter_rspec coffee-rails database_cleaner devise diff --git a/Rakefile b/Rakefile index ce4aec20..9ce34d64 100644 --- a/Rakefile +++ b/Rakefile @@ -5,3 +5,12 @@ require File.expand_path('../config/application', __FILE__) Rails.application.load_tasks + +require 'ci/reporter/rake/rspec' + +# ... +# Rake code that creates a task called `:rspec` +# ... + +task :rspec => 'ci:setup:rspec' +task :spec => 'ci:setup:rspec'