-
Notifications
You must be signed in to change notification settings - Fork 82
52 lines (49 loc) · 1.11 KB
/
ci.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
name: "Tests"
on:
push:
branches:
- master
pull_request:
branches:
- "*"
env:
CI: "true"
jobs:
main:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7]
activemodel: [3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0, 6.1]
include:
- ruby: 3.0
activemodel: 6.0
- ruby: 3.0
activemodel: 6.1
exclude:
- ruby: 2.2
activemodel: 6.0
- ruby: 2.3
activemodel: 6.0
- ruby: 2.4
activemodel: 6.0
- ruby: 2.2
activemodel: 6.1
- ruby: 2.3
activemodel: 6.1
- ruby: 2.4
activemodel: 6.1
fail-fast: true
env:
ACTIVE_MODEL_VERSION: ${{ matrix.activemodel }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: ruby/setup-ruby@master
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install --jobs 4 --retry 3
name: Install Ruby deps
- run: bundle exec rake