.circleci/config.yml in bloomed-1.0.0 vs .circleci/config.yml in bloomed-1.1.0
- old
+ new
@@ -6,11 +6,11 @@
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/ruby:2.5.1-node-browsers
-
+
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
@@ -33,27 +33,25 @@
- save_cache:
paths:
- ./vendor/bundle
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
-
+
# Database setup
# - run: bundle exec rake db:create
# - run: bundle exec rake db:schema:load
# run tests!
- run:
name: run tests
command: |
- mkdir /tmp/test-results
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
-
- bundle exec rspec --format progress \
- --out /tmp/test-results/rspec.xml \
- $TEST_FILES
+ mkdir -p /tmp/test_results/rspec
+ bundle exec rspec --profile 10 \
+ --format RspecJunitFormatter \
+ --out /tmp/test_results/rspec/results.xml \
+ --format progress \
+ $TEST_FILES
# collect reports
- store_test_results:
- path: /tmp/test-results
- - store_artifacts:
- path: /tmp/test-results
- destination: test-results
\ No newline at end of file
+ path: /tmp/test_results