File tree 1 file changed +19
-11
lines changed
1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
- on :
4
- push :
3
+ on :
4
+ - push
5
5
6
6
jobs :
7
7
build :
8
+ name : Ruby ${{ matrix.version }} ${{ matrix.gemfile }}
8
9
runs-on : ubuntu-latest
9
- name : Ruby ${{ matrix.version }}, ${{ matrix.gemfile }}
10
+ env :
11
+ BUNDLE_GEMFILE : ${{ matrix.gemfile }}
10
12
strategy :
11
13
matrix :
12
- version : [2.4, 2.5, 2.6, 2.7]
13
- gemfile : [Gemfile_ar41, Gemfile_ar50, Gemfile_ar51, Gemfile_ar_master]
14
+ version :
15
+ - 2.4
16
+ - 2.5
17
+ - 2.6
18
+ - 2.7
19
+ gemfile :
20
+ - Gemfile_ar41
21
+ - Gemfile_ar50
22
+ - Gemfile_ar51
23
+ - Gemfile_ar_master
14
24
exclude :
15
25
- version : 2.7
16
26
gemfile : Gemfile_ar41
17
-
18
27
steps :
19
28
- uses : actions/checkout@v2
29
+ - name : Remove Gemfile.lock
30
+ run : |
31
+ rm -f ${GITHUB_WORKSPACE}/Gemfile.lock
20
32
- name : Set up Ruby ${{ matrix.version }}
21
33
uses : ruby/setup-ruby@v1
22
- with :
34
+ with :
23
35
ruby-version : ${{ matrix.version }}
24
- - name : Set up gemfile
25
- run : |
26
- export BUNDLE_GEMFILE=${GITHUB_WORKSPACE}/${{ matrix.gemfile }}
27
- rm -f ${GITHUB_WORKSPACE}/Gemfile.lock
28
36
- name : Run Tests
29
37
run : |
30
38
bundle config set --with docs
You can’t perform that action at this time.
0 commit comments