File tree Expand file tree Collapse file tree 6 files changed +88
-30
lines changed
Expand file tree Collapse file tree 6 files changed +88
-30
lines changed Original file line number Diff line number Diff line change 1+ defaults : &defaults
2+ working_directory : ~/mantle
3+ parallelism : 1
4+ docker :
5+ - image : cimg/ruby:3.1.3
6+ environment :
7+ RAILS_ENV : test
8+ - image : redis
9+
10+ version : 2
11+ jobs :
12+ build :
13+ << : *defaults
14+ steps :
15+ - restore_cache :
16+ key : v1-mantle-repo-{{ .Environment.CIRCLE_SHA1 }}
17+
18+ - checkout
19+
20+ - save_cache :
21+ key : v1-mantle-repo-{{ .Environment.CIRCLE_SHA1 }}
22+ paths :
23+ - ~/mantle
24+
25+ - restore_cache :
26+ key : v1-mantle-bundle-{{ checksum "Gemfile.lock" }}
27+
28+ - run :
29+ name : install bundler
30+ command : |
31+ gem install bundler:2.4.5
32+ - run :
33+ name : bundle install
34+ command : |
35+ bundle install --jobs=4 --retry=3 --path vendor/bundle
36+ - save_cache :
37+ paths :
38+ - ~/mantle/vendor/bundle
39+ key : v1-mantle-bundle-{{ checksum "Gemfile.lock" }}
40+
41+ - run :
42+ name : Rspec
43+ command : |
44+ mkdir /tmp/test-results
45+ TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
46+ bundle exec rspec --format progress \
47+ --format RspecJunitFormatter \
48+ --out test_results/rspec.xml \
49+ -- $TEST_FILES
50+ - store_test_results :
51+ path : test_results
52+
53+ - store_artifacts :
54+ path : test-results/rspec.xml
55+ destination : test-results
Original file line number Diff line number Diff line change 1+ 2.3.1
2+ -----------
3+
4+ - Allow ` sidekiq ` version ` 6.x `
5+
162.3.0
27-----------
38
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- mantle (2.3.0 )
4+ mantle (2.3.1 )
55 redis
6- sidekiq (~> 5 .0 )
6+ sidekiq (< 7 .0 )
77
88GEM
99 remote: https://rubygems.org/
1010 specs:
1111 coderay (1.1.0 )
12- connection_pool (2.2.2 )
13- diff-lcs (1.2.5 )
12+ connection_pool (2.2.5 )
13+ diff-lcs (1.5.0 )
1414 method_source (0.8.2 )
1515 pry (0.10.0 )
1616 coderay (~> 1.1.0 )
1717 method_source (~> 0.8.1 )
1818 slop (~> 3.4 )
19- rack (2.0.9 )
20- rack-protection (2.0.8.1 )
21- rack
22- redis (4.1.3 )
23- rspec (3.2.0 )
24- rspec-core (~> 3.2.0 )
25- rspec-expectations (~> 3.2.0 )
26- rspec-mocks (~> 3.2.0 )
27- rspec-core (3.2.2 )
28- rspec-support (~> 3.2.0 )
29- rspec-expectations (3.2.0 )
19+ rack (2.2.6.2 )
20+ redis (4.7.0 )
21+ rspec (3.12.0 )
22+ rspec-core (~> 3.12.0 )
23+ rspec-expectations (~> 3.12.0 )
24+ rspec-mocks (~> 3.12.0 )
25+ rspec-core (3.12.0 )
26+ rspec-support (~> 3.12.0 )
27+ rspec-expectations (3.12.2 )
3028 diff-lcs (>= 1.2.0 , < 2.0 )
31- rspec-support (~> 3.2 .0 )
32- rspec-mocks (3.2.0 )
29+ rspec-support (~> 3.12 .0 )
30+ rspec-mocks (3.12.3 )
3331 diff-lcs (>= 1.2.0 , < 2.0 )
34- rspec-support (~> 3.2.0 )
35- rspec-support (3.2.2 )
36- sidekiq (5.2.8 )
37- connection_pool (~> 2.2 , >= 2.2.2 )
38- rack (< 2.1.0 )
39- rack-protection (>= 1.5.0 )
40- redis (>= 3.3.5 , < 5 )
32+ rspec-support (~> 3.12.0 )
33+ rspec-support (3.12.0 )
34+ rspec_junit_formatter (0.5.1 )
35+ rspec-core (>= 2 , < 4 , != 2.12.0 )
36+ sidekiq (6.5.1 )
37+ connection_pool (>= 2.2.2 )
38+ rack (~> 2.0 )
39+ redis (>= 4.2.0 )
4140 slop (3.5.0 )
4241
4342PLATFORMS
@@ -47,6 +46,7 @@ DEPENDENCIES
4746 mantle !
4847 pry
4948 rspec
49+ rspec_junit_formatter
5050
5151BUNDLED WITH
52- 2.1.4
52+ 2.4.5
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11module Mantle
2- VERSION = '2.3.0 '
2+ VERSION = '2.3.1 '
33end
Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ Gem::Specification.new do |gem|
1818 gem . require_paths = [ "lib" ]
1919
2020 gem . add_dependency ( 'redis' )
21- gem . add_dependency ( 'sidekiq' , '~> 5 .0' )
21+ gem . add_dependency ( 'sidekiq' , '< 7 .0' )
2222
2323 gem . add_development_dependency ( 'rspec' )
2424 gem . add_development_dependency ( 'pry' )
25+ gem . add_development_dependency ( "rspec_junit_formatter" )
2526end
You can’t perform that action at this time.
0 commit comments