Unify the Rspec options into a single pattern

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya Noguchi 2021-02-28 03:59:14 +00:00
parent 878a2ed011
commit 9a6ce792bb
2 changed files with 3 additions and 3 deletions

2
.rspec
View File

@ -1 +1 @@
--color
--color --format RspecJunitFormatter --out junit_rspec.xml --format documentation

View File

@ -175,7 +175,7 @@
<<: *com-except-triggers-docs-and-deps
retry: 1
script:
- bundle exec rspec --color --format RspecJunitFormatter --out junit_rspec.xml --format documentation spec/lib
- bundle exec rspec spec/lib
artifacts:
reports: &spec_reports
junit: junit_rspec.xml
@ -197,7 +197,7 @@
- cp knapsack/${DISTRO_NAME}_${DISTRO_VERSION}_main_rspec_report.json ${KNAPSACK_REPORT_PATH}.bak
- rm -f knapsack/*.json
- mv ${KNAPSACK_REPORT_PATH}.bak ${KNAPSACK_REPORT_PATH}
- bundle exec rake "knapsack:rspec[--color --format RspecJunitFormatter --out junit_rspec.xml --format documentation]"
- bundle exec rake knapsack:rspec
artifacts:
<<: *knapsack-artifacts
reports: