@@ -42,33 +42,13 @@ jobs:
42
42
matrix :
43
43
ruby :
44
44
- ' 3.3'
45
- - ' 3.2'
46
- - ' 3.1'
47
- - ' 3.0'
48
- - 2.7
49
- - 2.6
50
- - 2.5
51
- - 2.4
52
- - 2.3
53
- - 2.2
54
45
env :
55
46
-
56
47
DIFF_LCS_VERSION : " > 1.4.3"
57
48
include :
58
49
- ruby : ruby-head
59
50
env :
60
51
RUBY_HEAD : true
61
- - ruby : jruby-9.2.13.0
62
- env :
63
- JRUBY_OPTS : " --dev"
64
- - ruby : 2.7
65
- name_extra : " with diff-lcs 1.3"
66
- env :
67
- DIFF_LCS_VERSION : " ~> 1.3.0"
68
- - ruby : 2.7
69
- name_extra : " with diff-lcs 1.4.3"
70
- env :
71
- DIFF_LCS_VERSION : " 1.4.3"
72
52
fail-fast : false
73
53
continue-on-error : ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
74
54
env : ${{ matrix.env }}
90
70
name : coverage-report-${{ matrix.ruby }}
91
71
path : coverage/index.html
92
72
retention-days : 14
93
-
94
- legacy :
95
- name : Legacy Ruby Builds (${{ matrix.container.version }})
96
- runs-on : ubuntu-20.04
97
- container :
98
- image : ${{ matrix.container.tag }}
99
- options : ${{ matrix.container.options || '--add-host github-complains-if-this-is-empty.com:127.0.0.1' }}
100
- strategy :
101
- fail-fast : false
102
- matrix :
103
- container :
104
- - version : " 2.1.9"
105
- tag : ghcr.io/rspec/docker-ci:2.1.9
106
- post : git config --global --add safe.directory `pwd`
107
- - version : " 2.0"
108
- tag : ghcr.io/rspec/docker-ci:2.0.0
109
- - version : " 1.9.3"
110
- tag : ghcr.io/rspec/docker-ci:1.9.3
111
- - version : " 1.9.2"
112
- tag : ghcr.io/rspec/docker-ci:1.9.2
113
- options : " --add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227"
114
- - version : " 1.8.7"
115
- tag : ghcr.io/rspec/docker-ci:1.8.7
116
- options : " --add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227"
117
- - version : " REE"
118
- tag : ghcr.io/rspec/docker-ci:ree
119
- options : " --add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227"
120
- - version : " JRuby 1.7"
121
- tag : ghcr.io/rspec/docker-ci:jruby-1.7
122
- - version : " JRuby 1.7 1.8 mode"
123
- tag : ghcr.io/rspec/docker-ci:jruby-1.7
124
- jruby_opts : ' --dev --1.8'
125
- pre : gem uninstall jruby-openssl
126
- options : " --add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227"
127
- - version : " JRuby 9.1.17.0"
128
- tag : ghcr.io/rspec/docker-ci:jruby-9.1.17.0
129
- options : " --add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227"
130
- env :
131
- ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
132
- LEGACY_CI : true
133
- JRUBY_OPTS : ${{ matrix.container.jruby_opts || '--dev' }}
134
- NO_COVERAGE : true
135
- steps :
136
- - uses : actions/checkout@v3
137
- - run : ${{ matrix.container.pre }}
138
- - run : script/legacy_setup.sh
139
- - run : ${{ matrix.container.post }}
140
- - run : bundle exec bin/rspec
141
- - run : bundle exec script/cucumber.sh
142
-
143
- windows :
144
- name : Ruby ${{ matrix.ruby }} (Windows)
145
- runs-on : windows-latest
146
- strategy :
147
- matrix :
148
- ruby :
149
- - 2.7
150
- - 2.6
151
- - 2.5
152
- - 2.4
153
- - 2.3
154
- - 2.2
155
- fail-fast : false
156
- steps :
157
- - uses : actions/checkout@v4
158
- - uses : ruby/setup-ruby@v1
159
- with :
160
- bundler : ' 2.2.22'
161
- ruby-version : ${{ matrix.ruby }}
162
- bundler-cache : true
163
- - run : choco install ansicon
164
- - run : bundle exec rspec --backtrace
0 commit comments