Use SummaryLogger

pull/8960/head
Oliver Günther 4 years ago
parent e484804645
commit b855b27ba6
  1. 2
      .rspec_parallel
  2. 4
      docker/ci/entrypoint.sh

@ -1,2 +1,2 @@
--format progress
--format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime_rspec.log
--format ParallelTests::RSpec::SummaryLogger --out tmp/parallel_runtime_rspec.log

@ -55,7 +55,7 @@ if [ "$1" == "run-units" ]; then
execute "time bundle exec rspec -I spec_legacy spec_legacy"
execute "time bundle exec rake parallel:units"
if [ ! $? -eq 0 ]; then
execute "cat tmp/spec_examples.txt | grep -Ev 'passed|unknown|pending'"
execute "cat tmp/parallel_runtime_rspec.log | grep -Ev 'passed|unknown|pending'"
exit 1
fi
fi
@ -67,7 +67,7 @@ if [ "$1" == "run-features" ]; then
execute "cp -rp config/frontend_assets.manifest.json public/assets/frontend_assets.manifest.json"
execute "time bundle exec rake parallel:features"
if [ ! $? -eq 0 ]; then
execute "cat tmp/spec_examples.txt | grep -Ev 'passed|unknown|pending'"
execute "cat tmp/parallel_runtime_rspec.log | grep -Ev 'passed|unknown|pending'"
exit 1
fi
fi

Loading…
Cancel
Save