Merge pull request #2991 from betagouv/ci-print-test-files
circleci: print files used by the shell command
This commit is contained in:
commit
10e56a30eb
1 changed files with 4 additions and 2 deletions
|
@ -74,11 +74,13 @@ jobs:
|
||||||
DATABASE_URL: "postgres://tps_test@localhost:5432/tps_test"
|
DATABASE_URL: "postgres://tps_test@localhost:5432/tps_test"
|
||||||
name: Run Tests, Splitted by Timings
|
name: Run Tests, Splitted by Timings
|
||||||
command: |
|
command: |
|
||||||
bundle exec rspec --profile 10 \
|
COMMAND="bundle exec rspec --profile 10 \
|
||||||
--format RspecJunitFormatter \
|
--format RspecJunitFormatter \
|
||||||
--out ~/test_results/rspec.xml \
|
--out ~/test_results/rspec.xml \
|
||||||
--format progress \
|
--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:
|
- store_test_results:
|
||||||
path: ~/test_results/rspec.xml
|
path: ~/test_results/rspec.xml
|
||||||
lint:
|
lint:
|
||||||
|
|
Loading…
Reference in a new issue