File tree Expand file tree Collapse file tree 11 files changed +162
-19
lines changed Expand file tree Collapse file tree 11 files changed +162
-19
lines changed Original file line number Diff line number Diff line change 11---
22name : CI
3- on :
4- push :
5- branches :
6- - ' **'
3+ on : [push]
74jobs :
85 main :
9- name : Ruby ${{ matrix.ruby }}
6+ name : Tests
107 runs-on : ubuntu-latest
118 strategy :
129 fail-fast : false
2017 - ' 3.2'
2118 - ' 3.3'
2219 - jruby
20+ gemfile :
21+ - rails7.0
22+ - rails7.1
23+ env :
24+ BUNDLE_GEMFILE : gemfiles/${{ matrix.gemfile }}.gemfile
2325 steps :
24- - uses : zendesk /checkout@v2
25- - uses : zendesk /setup-ruby@v1
26+ - uses : actions /checkout@v4
27+ - uses : ruby /setup-ruby@v1
2628 with :
2729 ruby-version : ${{ matrix.ruby }}
2830 bundler-cache : true
Original file line number Diff line number Diff line change 1919pkg
2020vendor
2121
22- # # PROJECT::SPECIFIC
23- Gemfile.lock
Original file line number Diff line number Diff line change 1- source 'https://rubygems.org'
2-
3- gemspec
4-
5- gem 'activesupport'
6- gem 'bump'
7- gem 'maxitest'
8- gem 'mocha'
9- gem 'rake'
1+ eval_gemfile "gemfiles/rails7.0.gemfile"
Original file line number Diff line number Diff line change 1+ PATH
2+ remote: .
3+ specs:
4+ prop (2.8.0 )
5+
6+ GEM
7+ remote: https://rubygems.org/
8+ specs:
9+ activesupport (7.0.8 )
10+ concurrent-ruby (~> 1.0 , >= 1.0.2 )
11+ i18n (>= 1.6 , < 2 )
12+ minitest (>= 5.1 )
13+ tzinfo (~> 2.0 )
14+ concurrent-ruby (1.2.2 )
15+ i18n (1.14.1 )
16+ concurrent-ruby (~> 1.0 )
17+ maxitest (4.5.0 )
18+ minitest (>= 5.0.0 , < 5.19.0 )
19+ minitest (5.18.1 )
20+ mocha (2.1.0 )
21+ ruby2_keywords (>= 0.0.5 )
22+ rake (13.1.0 )
23+ ruby2_keywords (0.0.5 )
24+ tzinfo (2.0.6 )
25+ concurrent-ruby (~> 1.0 )
26+
27+ PLATFORMS
28+ java
29+ ruby
30+
31+ DEPENDENCIES
32+ activesupport (~> 7.0.0 )
33+ maxitest (< 5 )
34+ mocha
35+ prop !
36+ rake
37+
38+ BUNDLED WITH
39+ 2.4.22
Original file line number Diff line number Diff line change 11require 'bundler/setup'
22require 'bundler/gem_tasks'
33require 'rake/testtask'
4- require 'bump/tasks'
54
65Rake ::TestTask . new :default do |test |
76 test . pattern = 'test/**/test_*.rb'
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Usage: ./bundle_all <args>
3+ # This will update the lock files
4+ # in the gemfiles/ folder as well
5+ echo " bundle_all"
6+ for i in gemfiles/* .gemfile Gemfile
7+ do
8+ echo " Bundling for $i "
9+ echo " BUNDLE_GEMFILE=$i bundle $@ "
10+ BUNDLE_GEMFILE=$i bundle $@
11+ done
Original file line number Diff line number Diff line change 1+ source 'https://rubygems.org'
2+
3+ gemspec path : '../'
4+
5+ gem 'maxitest' , '< 5'
6+ gem 'mocha'
7+ gem 'rake'
Original file line number Diff line number Diff line change 1+ eval_gemfile 'common.rb'
2+
3+ gem 'activesupport', '~> 7.0.0'
Original file line number Diff line number Diff line change 1+ PATH
2+ remote: ..
3+ specs:
4+ prop (2.8.0)
5+
6+ GEM
7+ remote: https://rubygems.org/
8+ specs:
9+ activesupport (7.0.8)
10+ concurrent-ruby (~> 1.0, >= 1.0.2)
11+ i18n (>= 1.6, < 2)
12+ minitest (>= 5.1)
13+ tzinfo (~> 2.0)
14+ concurrent-ruby (1.2.2)
15+ i18n (1.14.1)
16+ concurrent-ruby (~> 1.0)
17+ maxitest (4.5.0)
18+ minitest (>= 5.0.0, < 5.19.0)
19+ minitest (5.18.1)
20+ mocha (2.1.0)
21+ ruby2_keywords (>= 0.0.5)
22+ rake (13.1.0)
23+ ruby2_keywords (0.0.5)
24+ tzinfo (2.0.6)
25+ concurrent-ruby (~> 1.0)
26+
27+ PLATFORMS
28+ java
29+ ruby
30+
31+ DEPENDENCIES
32+ activesupport (~> 7.0.0)
33+ maxitest (< 5)
34+ mocha
35+ prop!
36+ rake
37+
38+ BUNDLED WITH
39+ 2.4.22
Original file line number Diff line number Diff line change 1+ eval_gemfile 'common.rb'
2+
3+ gem 'activesupport', '~> 7.1.0'
You can’t perform that action at this time.
0 commit comments