File tree Expand file tree Collapse file tree 1 file changed +80
-0
lines changed
Expand file tree Collapse file tree 1 file changed +80
-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-22.04
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ include :
15+ # Recent Rubies and Rails
16+ - ruby-version : ' 3.3'
17+ rails-version : ' 8.0'
18+ - ruby-version : ' 3.2'
19+ rails-version : ' 7.2'
20+ - ruby-version : ' 3.2'
21+ rails-version : ' 7.1'
22+ - ruby-version : ' 3.1'
23+ rails-version : ' 7.1'
24+ - ruby-version : ' 3.0'
25+ rails-version : ' 7.1'
26+ - ruby-version : ' 2.7'
27+ rails-version : ' 7.1'
28+ - ruby-version : ' 2.6'
29+ rails-version : ' 6.1'
30+ - ruby-version : ' 2.6'
31+ rails-version : ' 6.0'
32+ - ruby-version : ' 2.7'
33+ rails-version : ' 6.0'
34+ - ruby-version : ' 2.6'
35+ rails-version : ' 5.2'
36+ # Old Rubies and Rails
37+ - ruby-version : ' 2.5'
38+ rails-version : ' 5.1'
39+ bundler : ' 1'
40+ - ruby-version : ' 2.4'
41+ rails-version : ' 5.0'
42+ bundler : ' 1'
43+ - ruby-version : ' 2.4'
44+ rails-version : ' 4.2'
45+ bundler : ' 1'
46+ # Failing with a stack trace in active support
47+ # - ruby-version: '2.4'
48+ # rails-version: '4.1'
49+ # bundler: '1'
50+
51+ continue-on-error : " ${{ endsWith(matrix.ruby-version, 'head') }}"
52+
53+ env :
54+ CI : " 1"
55+
56+ steps :
57+ - name : " Checkout Code"
58+ uses : " actions/checkout@v4"
59+ timeout-minutes : 5
60+ with :
61+ fetch-depth : 0
62+
63+ - name : Install required libs
64+ run : |
65+ sudo apt-get -yqq install libsqlite3-dev
66+
67+ - name : " Build Ruby"
68+ uses : ruby/setup-ruby@v1
69+ with :
70+ ruby-version : " ${{ matrix.ruby-version }}"
71+ bundler : " ${{ matrix.bundler || 2 }}"
72+ bundler-cache : true
73+ env :
74+ RAILS_VERSION : ${{ matrix.rails-version }}
75+
76+ - name : " Run tests"
77+ run : |
78+ bundle exec rake
79+ env :
80+ RAILS_VERSION : ${{ matrix.rails-version }}
You can’t perform that action at this time.
0 commit comments