From d0bac997cba1745614b5783d3d3b8c3563934b6f Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Wed, 14 Nov 2018 11:13:36 +0000 Subject: [PATCH] circleci: print files used by the shell command This allow to reproduce failures due to tests order more easily. --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8727017a1..8347965d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,11 +74,13 @@ jobs: DATABASE_URL: "postgres://tps_test@localhost:5432/tps_test" name: Run Tests, Splitted by Timings command: | - bundle exec rspec --profile 10 \ + COMMAND="bundle exec rspec --profile 10 \ --format RspecJunitFormatter \ --out ~/test_results/rspec.xml \ --format progress \ - $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings) + $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)" + echo $COMMAND + eval $COMMAND - store_test_results: path: ~/test_results/rspec.xml lint: