Skip to content

Commit

Permalink
Merge pull request #446 from bastelfreak/parallel
Browse files Browse the repository at this point in the history
parallel_spec_standalone: use --format progress
  • Loading branch information
gavindidrichsen authored May 9, 2024
2 parents e4f2eef + 20dd0d7 commit 77ecfeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/puppetlabs_spec_helper/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@
warn 'No files for parallel_spec to run against'
else

args = ['-t', 'rspec']
args.push('--').concat(ENV['CI_SPEC_OPTIONS'].strip.split).push('--') unless ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty?
args = ['--type', 'rspec']
additional_options = ['--format', 'progress'] + ENV['CI_SPEC_OPTIONS'].to_s.strip.split
args.push('--').concat(additional_options).push('--')
args.concat(Rake::FileList[pattern].to_a)

ParallelTests::CLI.new.run(args)
Expand Down

0 comments on commit 77ecfeb

Please sign in to comment.