Skip to content

Commit 5dc7061

Browse files
committed
Make test verbose on CI again
1 parent e3d7009 commit 5dc7061

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Rakefile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,14 @@
33
require 'bundler/gem_tasks'
44
require 'rake/testtask'
55

6-
Rake::TestTask.new :test do |t|
7-
t.libs = %w(lib test)
8-
9-
if ARGV.size == 1
10-
t.pattern = 'test/*_test.rb'
11-
else
12-
t.test_files = ARGV[1..-1]
13-
end
14-
15-
t.options = '-v' if ENV['CI'] || ENV['VERBOSE']
16-
end
17-
186
namespace :test do
197
groups = %i(redis distributed sentinel cluster)
208
groups.each do |group|
219
Rake::TestTask.new(group) do |t|
2210
t.libs << "test"
2311
t.libs << "lib"
2412
t.test_files = FileList["test/#{group}/**/*_test.rb"]
13+
t.options = '-v' if ENV['CI'] || ENV['VERBOSE']
2514
end
2615
end
2716

0 commit comments

Comments
 (0)