Skip to content

Commit

Permalink
Drop circle in Rakefile as well
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Oct 29, 2024
1 parent d606bd9 commit 728391d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,8 @@ end
desc 'Run all rspec tests'
task :test_all do
formatter = "--format progress"
if ENV["CIRCLECI"]
Dir.mkdir("/tmp/rspec/")
formatter += " -r rspec_junit_formatter --format RspecJunitFormatter -o /tmp/rspec/rspec.xml"
TEST_FILES = `(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)`.tr!("\n", ' ')
rspec_args = "#{formatter} #{TEST_FILES}"
else
formatter += ' --pattern "./spec/**/*_spec.rb"'
rspec_args = formatter
end
formatter += ' --pattern "./spec/**/*_spec.rb"'
rspec_args = formatter
sh "rspec #{rspec_args}"
end

Expand Down

0 comments on commit 728391d

Please sign in to comment.