-
Notifications
You must be signed in to change notification settings - Fork 81
67 lines (60 loc) · 2.63 KB
/
active_model_otp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Active Model OTP
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
gemfile: [rails_4.2, rails_5.0, rails_5.1, rails_5.2, rails_6.0, rails_6.1, rails_7.0]
ruby-version: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2]
exclude:
- { gemfile: rails_4.2, ruby-version: 2.5 }
- { gemfile: rails_4.2, ruby-version: 2.6 }
- { gemfile: rails_4.2, ruby-version: 2.7 }
- { gemfile: rails_4.2, ruby-version: '3.0' }
- { gemfile: rails_4.2, ruby-version: 3.1 }
- { gemfile: rails_4.2, ruby-version: 3.2 }
- { gemfile: rails_5.0, ruby-version: 2.5 }
- { gemfile: rails_5.0, ruby-version: 2.6 }
- { gemfile: rails_5.0, ruby-version: 2.7 }
- { gemfile: rails_5.0, ruby-version: '3.0' }
- { gemfile: rails_5.0, ruby-version: 3.1 }
- { gemfile: rails_5.0, ruby-version: 3.2 }
- { gemfile: rails_5.1, ruby-version: 2.6 }
- { gemfile: rails_5.1, ruby-version: 2.7 }
- { gemfile: rails_5.1, ruby-version: '3.0' }
- { gemfile: rails_5.1, ruby-version: 3.1 }
- { gemfile: rails_5.1, ruby-version: 3.2 }
- { gemfile: rails_5.2, ruby-version: 2.7 }
- { gemfile: rails_5.2, ruby-version: '3.0' }
- { gemfile: rails_5.2, ruby-version: 3.1 }
- { gemfile: rails_5.2, ruby-version: 3.2 }
- { gemfile: rails_6.0, ruby-version: 2.3 }
- { gemfile: rails_6.0, ruby-version: 2.4 }
- { gemfile: rails_6.0, ruby-version: '3.0' }
- { gemfile: rails_6.0, ruby-version: 3.1 }
- { gemfile: rails_6.0, ruby-version: 3.2 }
- { gemfile: rails_6.1, ruby-version: 2.3 }
- { gemfile: rails_6.1, ruby-version: 2.4 }
- { gemfile: rails_6.1, ruby-version: '3.0' }
- { gemfile: rails_6.1, ruby-version: 3.1 }
- { gemfile: rails_6.1, ruby-version: 3.2 }
- { gemfile: rails_7.0, ruby-version: 2.3 }
- { gemfile: rails_7.0, ruby-version: 2.4 }
- { gemfile: rails_7.0, ruby-version: 2.5 }
- { gemfile: rails_7.0, ruby-version: 2.6 }
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v3
- name: Install Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests with Ruby ${{ matrix.ruby-version }} and Gemfile ${{ matrix.gemfile }}
run: bundle exec rake