circleci: print files used by the shell command
This allow to reproduce failures due to tests order more easily.
This commit is contained in:
parent
bccb86144e
commit
d0bac997cb
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue