File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : CI
4+
5+ on : [push, pull_request]
6+
7+ jobs :
8+ test :
9+ name : " Testing"
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ include :
15+ # Recent Rubies and Rails
16+ - ruby-version : ' 3.2'
17+ - ruby-version : ' 3.1'
18+ - ruby-version : ' 3.0'
19+ - ruby-version : ' 2.7'
20+ - ruby-version : ' 2.6'
21+ - ruby-version : ' 2.6'
22+ - ruby-version : ' 2.7'
23+ - ruby-version : ' 2.6'
24+ # Old Rubies and Rails
25+ - ruby-version : ' 2.5'
26+ bundler : ' 1'
27+ - ruby-version : ' 2.4'
28+ bundler : ' 1'
29+ - ruby-version : ' 2.4'
30+ bundler : ' 1'
31+ # Failing with a stack trace in active support
32+ # - ruby-version: '2.4'
33+ # rails-version: '4.1'
34+ # bundler: '1'
35+
36+ continue-on-error : " ${{ endsWith(matrix.ruby-version, 'head') }}"
37+
38+ env :
39+ CI : " 1"
40+
41+ steps :
42+ - name : " Checkout Code"
43+ uses : " actions/checkout@v2"
44+ timeout-minutes : 5
45+ with :
46+ fetch-depth : 0
47+
48+ # - name: Install required libs
49+ # run: |
50+ # sudo apt-get -yqq install libsqlite3-dev
51+
52+ - name : " Build Ruby"
53+ uses : ruby/setup-ruby@v1
54+ with :
55+ ruby-version : " ${{ matrix.ruby-version }}"
56+ bundler : " ${{ matrix.bundler || 2 }}"
57+ bundler-cache : true
58+ # env:
59+ # RAILS_VERSION: ${{ matrix.rails-version }}
60+
61+ - name : " Run tests"
62+ run : |
63+ bundle exec rake
64+ # env:
65+ # RAILS_VERSION: ${{ matrix.rails-version }}
You can’t perform that action at this time.
0 commit comments