From 91b33a8c6338cf772e4f6bea59b73fa570deb313 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 a8c3931..b442ed8 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 6135d5d..0be327a 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 ce4aec2..9ce34d6 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'