File tree Expand file tree Collapse file tree 1 file changed +21
-9
lines changed
Expand file tree Collapse file tree 1 file changed +21
-9
lines changed Original file line number Diff line number Diff line change 44 build :
55 working_directory : /home/circleci/zync
66 docker :
7- - image : circleci/ruby:2.4.4
7+ - image : circleci/ruby:2.4.6
88 - image : circleci/postgres:10-alpine-ram
99 environment :
1010 RAILS_ENV : test
@@ -22,20 +22,32 @@ jobs:
2222 - zync-bundle-{{ arch }}-{{ .Branch }}
2323 - zync-branch-{{ arch }}-master
2424
25- - run : bundle install --deployment --path vendor/bundle --jobs $(grep -c processor /proc/cpuinfo) --retry 3
26- - run : BUNDLE_WITHOUT=development:test bundle exec bin/rails runner --environment=production 'puts Rails.env'
25+ - run :
26+ name : bundle install
27+ command : |
28+ gem install bundle --version=2.0.1
29+ bundle install --deployment --path vendor/bundle --jobs $(grep -c processor /proc/cpuinfo) --retry 3
30+ - run :
31+ name : boot zync
32+ command : BUNDLE_WITHOUT=development:test bundle exec bin/rails runner --environment=production 'puts Rails.env'
2733
2834 - save_cache :
2935 key : zync-bundle-{{ arch }}-{{ checksum "Gemfile.lock" }}
3036 paths :
3137 - vendor/bundle
3238
33- - run : bundle exec bin/rake db:wait db:setup
34-
35- - run : |
36- bundle exec bin/rails test $(circleci tests glob "test/**/*_test.rb" | circleci tests split --split-by=timings)
37- - run : |
38- bundle exec license_finder
39+ - run :
40+ name : rails db:setup
41+ command : bundle exec bin/rails db:wait db:setup
42+
43+ - run :
44+ name : rails test
45+ command : |
46+ bundle exec bin/rails test $(circleci tests glob "test/**/*_test.rb" | circleci tests split --split-by=timings)
47+ - run :
48+ name : license_finder
49+ command : |
50+ bundle exec license_finder
3951
4052 - store_test_results :
4153 path : test/reports
You can’t perform that action at this time.
0 commit comments