I write .circleci/config.yml
like this,
version: 2.1
jobs:
build:
executor: default
steps:
- run:
no_output_timeout: 1200
command: >
bundle exec rspec --profile 10
--format RspecJunitFormatter
--out test-results/rspec/results.xml
--format html
--out artifacts/rspec/results.html
--format progress
$(circleci tests glob "spec/**/**/*_spec.rb" | circleci tests split --split-by=timings)
and processed yml is here
version: 2
jobs:
build:
steps:
- run:
no_output_timeout: 1200
command: |
bundle exec rspec --profile 10
--format RspecJunitFormatter
--out test-results/rspec/results.xml
--format html
--out artifacts/rspec/results.html
--format progress
$(circleci tests glob "spec/**/**/*_spec.rb" | circleci tests split --split-by=timings)
the point is that
command: >
is converted to command: |
.
>
changes line-brakes to whitescpaces,
but |
does not.
Local Circleci CLI behave as same as this. ( $ ciecleci config process
)
It seems a bug for me.
thoughts?