File tree Expand file tree Collapse file tree 2 files changed +25
-16
lines changed Expand file tree Collapse file tree 2 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 10
10
- ' *'
11
11
jobs :
12
12
test :
13
- name : Ruby ${{ matrix.ruby }}
14
- runs-on : ubuntu-20.04
13
+ name : Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
14
+ runs-on : ${{ matrix.os || ' ubuntu-20.04' }}
15
15
strategy :
16
16
matrix :
17
17
ruby :
@@ -24,15 +24,35 @@ jobs:
24
24
- 2.2
25
25
- 2.1.9
26
26
- ruby-head
27
+ env :
28
+ -
29
+ DIFF_LCS_VERSION : " > 1.4.3"
30
+ include :
31
+ - ruby : jruby-9.2.13.0
32
+ env :
33
+ JRUBY_OPTS : " --dev"
34
+ - ruby : jruby-9.1.17.0
35
+ bundler : 1
36
+ os : ubuntu-18.04
37
+ env :
38
+ JRUBY_OPTS : " --dev"
39
+ - ruby : 2.7
40
+ name_extra : " with diff-lcs 1.3"
41
+ env :
42
+ DIFF_LCS_VERSION : " ~> 1.3.0"
43
+ - ruby : 2.7
44
+ name_extra : " with diff-lcs 1.4.3"
45
+ env :
46
+ DIFF_LCS_VERSION : " 1.4.3"
27
47
fail-fast : false
28
- continue-on-error : ${{ matrix.ruby == 'jruby-9.2.13.0' || endsWith(matrix.ruby, 'head') }}
48
+ continue-on-error : ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
49
+ env : ${{ matrix.env }}
29
50
steps :
30
51
- uses : actions/checkout@v2
31
52
- uses : ruby/setup-ruby@v1
32
53
with :
33
- bundler : ${{ ( matrix.ruby == 'jruby-9.1.17.0' && 1) || 2 }}
54
+ bundler : ${{ matrix.bundler || 2 }}
34
55
ruby-version : ${{ matrix.ruby }}
35
- bundler-cache : true
36
56
- run : script/update_rubygems_and_install_bundler
37
57
- run : script/clone_all_rspec_repos
38
58
- run : bundle install --binstubs --standalone
Original file line number Diff line number Diff line change 17
17
- 1.9.3
18
18
- 2.0.0
19
19
- ree
20
- - rbx-3
21
- - jruby-9.1.7.0 # pin JRuby to this until travis/rvm can install later versions
22
- - jruby-head
23
20
- jruby-1.7
24
21
env :
25
22
- JRUBY_OPTS='--dev'
26
23
matrix :
27
24
include :
28
25
- rvm : jruby-1.7
29
26
env : JRUBY_OPTS='--dev --1.8'
30
- - rvm : 2.7.1
31
- env : DIFF_LCS_VERSION="~> 1.3.0"
32
- - rvm : 2.7.1
33
- env : DIFF_LCS_VERSION="1.4.3"
34
- allow_failures :
35
- - rvm : jruby-head
36
- - rvm : ruby-head
37
- - rvm : rbx-3
38
27
fast_finish : true
39
28
branches :
40
29
only :
You can’t perform that action at this time.
0 commit comments